aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-05-18 21:30:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-02 16:13:21 -0400
commitac55952633c11761187d233619f0d1048154a8a5 (patch)
treef757d7af1aaf1601b5e61508e083a32f1bdc071b /drivers/net/wireless/ath/ath5k
parent3d1ca47eba76a31ad134e5c4d841234f5a6a92c3 (diff)
ath5k: initialize calibration timers
Initialize calibration timers on reset, since otherwise they might be in the future and the calibration tasklet might not be scheduled for a long time. Signed-off-by: Bruno Randolf <br1@einfach.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index cc6d41dec33..59268d18305 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2927,6 +2927,8 @@ ath5k_reset(struct ath5k_softc *sc, struct ieee80211_channel *chan)
2927 2927
2928 ath5k_ani_init(ah, ah->ah_sc->ani_state.ani_mode); 2928 ath5k_ani_init(ah, ah->ah_sc->ani_state.ani_mode);
2929 2929
2930 ah->ah_cal_next_full = jiffies;
2931 ah->ah_cal_next_ani = jiffies;
2930 /* 2932 /*
2931 * Change channels and update the h/w rate map if we're switching; 2933 * Change channels and update the h/w rate map if we're switching;
2932 * e.g. 11a to 11b/g. 2934 * e.g. 11a to 11b/g.