aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-08-02 19:51:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-08-02 19:51:54 +0000
commit3bd4699941bcd917b3c038b2df078ee5f46b01ff (patch)
treed29c20574f7a421db13df12cbfd2627e18dc3dca /package/kernel/mac80211
parent684f4a8a184b40813ab1abf64628b835614d44c5 (diff)
downloadmaster-187ad058-3bd4699941bcd917b3c038b2df078ee5f46b01ff.tar.gz
master-187ad058-3bd4699941bcd917b3c038b2df078ee5f46b01ff.tar.bz2
master-187ad058-3bd4699941bcd917b3c038b2df078ee5f46b01ff.zip
ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41952 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch b/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
index 7210a021bd..757d7412ba 100644
--- a/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
+++ b/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch
@@ -108,20 +108,6 @@
#ifdef CPTCFG_ATH9K_BTCOEX_SUPPORT
static inline void ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable)
---- a/drivers/net/wireless/ath/ath9k/link.c
-+++ b/drivers/net/wireless/ath/ath9k/link.c
-@@ -308,6 +308,11 @@ void ath_ani_calibrate(unsigned long dat
- unsigned int timestamp = jiffies_to_msecs(jiffies);
- u32 cal_interval, short_cal_interval, long_cal_interval;
- unsigned long flags;
-+ char buf[256];
-+
-+ /* gather entropy */
-+ ath9k_hw_get_adc_entropy(ah, buf, sizeof(buf));
-+ add_device_randomness(buf, sizeof(buf));
-
- if (ah->caldata && test_bit(NFCAL_INTF, &ah->caldata->cal_flags))
- long_cal_interval = ATH_LONG_CALINTERVAL_INT;
--- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c
@@ -1231,9 +1231,30 @@ static void ar5008_hw_set_radar_conf(str