diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-04-08 22:12:22 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-04-08 22:12:22 +0000 |
commit | f6e2c42a9faec3e926fc2d60e8cdc93729f7a211 (patch) | |
tree | e3b067adbf0c80483a1b7270c3af320e43561f8b /sys/dev/ic/ar5211.c | |
parent | 354cdc86241db3659af6c32dfd698c5cd65c2881 (diff) |
move reset of HAL descriptors to ath.c
Diffstat (limited to 'sys/dev/ic/ar5211.c')
-rw-r--r-- | sys/dev/ic/ar5211.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/ar5211.c b/sys/dev/ic/ar5211.c index da66f4e3d76..060fa111ebe 100644 --- a/sys/dev/ic/ar5211.c +++ b/sys/dev/ic/ar5211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5211.c,v 1.9 2005/04/08 22:02:49 reyk Exp $ */ +/* $OpenBSD: ar5211.c,v 1.10 2005/04/08 22:12:21 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -1118,9 +1118,6 @@ ar5k_ar5211_setupTxDesc(hal, desc, packet_length, header_length, type, tx_power, tx_desc = (struct ar5k_ar5211_tx_desc*)&desc->ds_ctl0; - /* Clear descriptor */ - bzero(tx_desc, sizeof(struct ar5k_ar5211_tx_desc)); - /* * Validate input */ @@ -1403,11 +1400,6 @@ ar5k_ar5211_setupRxDesc(hal, desc, size, flags) { struct ar5k_ar5211_rx_desc *rx_desc; - /* Reset descriptor */ - desc->ds_ctl0 = 0; - desc->ds_ctl1 = 0; - bzero(&desc->ds_hw[0], sizeof(struct ar5k_ar5211_rx_status)); - rx_desc = (struct ar5k_ar5211_rx_desc*)&desc->ds_ctl0; if ((rx_desc->rx_control_1 = (size & |