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>
This commit is contained in:

committato da
John W. Linville

parent
70768496db
commit
0caa7b14f3
@@ -427,7 +427,6 @@ bool ath_stoprecv(struct ath_softc *sc)
|
||||
ath9k_hw_stoppcurecv(ah);
|
||||
ath9k_hw_setrxfilter(ah, 0);
|
||||
stopped = ath9k_hw_stopdmarecv(ah);
|
||||
mdelay(3); /* 3ms is long enough for 1 frame */
|
||||
sc->rx.rxlink = NULL;
|
||||
|
||||
return stopped;
|
||||
|
Fai riferimento in un nuovo problema
Block a user