diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-16 02:53:20 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:37 -0500 |
commit | 0caa7b14f36e8c3c43dd9294a960ae55cafe07fb (patch) | |
tree | 13a878857346d4bb67e57b31f6ab25a03ed4c6d7 /drivers/net/wireless/ath9k/recv.c | |
parent | 70768496db9ee27d53d3d03d50c93fbf4c0198a0 (diff) |
ath9k: Fix HW wait timeout
RX and calibration have different timeout requirements.
This patch fixes it by changing the HW wait routine
to accept a timeout value.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath9k/recv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c index 08f676af894f..28ad1d5af129 100644 --- a/drivers/net/wireless/ath9k/recv.c +++ b/drivers/net/wireless/ath9k/recv.c | |||
@@ -427,7 +427,6 @@ bool ath_stoprecv(struct ath_softc *sc) | |||
427 | ath9k_hw_stoppcurecv(ah); | 427 | ath9k_hw_stoppcurecv(ah); |
428 | ath9k_hw_setrxfilter(ah, 0); | 428 | ath9k_hw_setrxfilter(ah, 0); |
429 | stopped = ath9k_hw_stopdmarecv(ah); | 429 | stopped = ath9k_hw_stopdmarecv(ah); |
430 | mdelay(3); /* 3ms is long enough for 1 frame */ | ||
431 | sc->rx.rxlink = NULL; | 430 | sc->rx.rxlink = NULL; |
432 | 431 | ||
433 | return stopped; | 432 | return stopped; |