ath5k: delay initial periodic calibration after reset to improve stability

SVN-Revision: 27364
This commit is contained in:
Felix Fietkau 2011-07-03 01:07:59 +00:00
parent 3a983b98c9
commit 4083940628

View File

@ -0,0 +1,11 @@
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2728,7 +2728,7 @@ ath5k_reset(struct ath5k_softc *sc, stru
ath5k_ani_init(ah, ani_mode);
- ah->ah_cal_next_full = jiffies;
+ ah->ah_cal_next_full = jiffies + msecs_to_jiffies(100);
ah->ah_cal_next_ani = jiffies;
ah->ah_cal_next_nf = jiffies;
ewma_init(&ah->ah_beacon_rssi_avg, 1024, 8);