aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-11 21:02:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-13 14:49:39 -0400
commitfe00deb3e4b50eede61cc7d4ab9bce7911f0a074 (patch)
treee8a69274ed3701dc159dfa10e96623d272012ca3 /drivers
parent26d16d23e621cdc679118ca2fe604752b3a36e9f (diff)
ath5k: delay full calibration after reset
During scans the full calibration usually does not make much sense, PAPD probing and IQ calibration should be deferred until there is enough time to complete them. Adding 100 ms to the initial full calibration delay should be enough to do this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 523bb0854507..3b58e008329c 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2725,7 +2725,7 @@ ath5k_reset(struct ath5k_softc *sc, struct ieee80211_channel *chan,
2725 2725
2726 ath5k_ani_init(ah, ani_mode); 2726 ath5k_ani_init(ah, ani_mode);
2727 2727
2728 ah->ah_cal_next_full = jiffies; 2728 ah->ah_cal_next_full = jiffies + msecs_to_jiffies(100);
2729 ah->ah_cal_next_ani = jiffies; 2729 ah->ah_cal_next_ani = jiffies;
2730 ah->ah_cal_next_nf = jiffies; 2730 ah->ah_cal_next_nf = jiffies;
2731 ewma_init(&ah->ah_beacon_rssi_avg, 1024, 8); 2731 ewma_init(&ah->ah_beacon_rssi_avg, 1024, 8);