diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-06-12 00:33:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 15:39:29 -0400 |
commit | 40346b66799b7d382e61bbb68a6b6bbdd20f320e (patch) | |
tree | 10c202f40b79ce532324eeb1f9ca3a7291bd2a56 /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 7ca710d58ee9018e4f18bdeb5b6e5dc50097ce14 (diff) |
ath9k_hw: inform ANI calibration when scanning
The new ANI implementation will use this to skip ANI
calibration upon a scan. This cannot be ported to the
older ANI implementation unless default ANI values from
the ANI are also used upon a scan. This is essentially
what one of the things thenew ANI does.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index d373364ef8a9..5141cd81b5d0 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -295,7 +295,7 @@ static void ath_edma_start_recv(struct ath_softc *sc) | |||
295 | 295 | ||
296 | ath_opmode_init(sc); | 296 | ath_opmode_init(sc); |
297 | 297 | ||
298 | ath9k_hw_startpcureceive(sc->sc_ah); | 298 | ath9k_hw_startpcureceive(sc->sc_ah, (sc->sc_flags & SC_OP_SCANNING)); |
299 | } | 299 | } |
300 | 300 | ||
301 | static void ath_edma_stop_recv(struct ath_softc *sc) | 301 | static void ath_edma_stop_recv(struct ath_softc *sc) |
@@ -501,7 +501,7 @@ int ath_startrecv(struct ath_softc *sc) | |||
501 | start_recv: | 501 | start_recv: |
502 | spin_unlock_bh(&sc->rx.rxbuflock); | 502 | spin_unlock_bh(&sc->rx.rxbuflock); |
503 | ath_opmode_init(sc); | 503 | ath_opmode_init(sc); |
504 | ath9k_hw_startpcureceive(ah); | 504 | ath9k_hw_startpcureceive(ah, (sc->sc_flags & SC_OP_SCANNING)); |
505 | 505 | ||
506 | return 0; | 506 | return 0; |
507 | } | 507 | } |