aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-03 01:07:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-03 01:07:59 +0000
commit4083940628986f73a4f7fbea365aef7922f9acb1 (patch)
tree1cd60159dbc2aa11d3b2a9ca576be2cbc26edf6b /package
parent3a983b98c9d61a6041cd3b9f4660c299430b3aae (diff)
downloadupstream-4083940628986f73a4f7fbea365aef7922f9acb1.tar.gz
upstream-4083940628986f73a4f7fbea365aef7922f9acb1.tar.bz2
upstream-4083940628986f73a4f7fbea365aef7922f9acb1.zip
ath5k: delay initial periodic calibration after reset to improve stability
SVN-Revision: 27364
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/444-ath5k_delay_calibration.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/444-ath5k_delay_calibration.patch b/package/mac80211/patches/444-ath5k_delay_calibration.patch
new file mode 100644
index 0000000000..f5dd3f2ac9
--- /dev/null
+++ b/package/mac80211/patches/444-ath5k_delay_calibration.patch
@@ -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);