summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-03 01:07:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-03 01:07:59 +0000
commit3d1ac9f11e1afc2d8fbca672bfef99fd4ab299bd (patch)
tree6f326535e4b1a8baab130ba04aefe712461cb0a0 /package/mac80211/patches
parentf8b69809e45edad04a2bec6d128198a5cbfd749f (diff)
ath5k: delay initial periodic calibration after reset to improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27364 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-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 000000000..f5dd3f2ac
--- /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);