diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 12c5b9a44904..7d9a263ea0a7 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -372,8 +372,7 @@ static void ath_ani_calibrate(unsigned long data) | |||
372 | } else { | 372 | } else { |
373 | if ((timestamp - sc->sc_ani.sc_resetcal_timer) >= | 373 | if ((timestamp - sc->sc_ani.sc_resetcal_timer) >= |
374 | ATH_RESTART_CALINTERVAL) { | 374 | ATH_RESTART_CALINTERVAL) { |
375 | ath9k_hw_reset_calvalid(ah, ah->ah_curchan, | 375 | sc->sc_ani.sc_caldone = ath9k_hw_reset_calvalid(ah); |
376 | &sc->sc_ani.sc_caldone); | ||
377 | if (sc->sc_ani.sc_caldone) | 376 | if (sc->sc_ani.sc_caldone) |
378 | sc->sc_ani.sc_resetcal_timer = timestamp; | 377 | sc->sc_ani.sc_resetcal_timer = timestamp; |
379 | } | 378 | } |