summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-28 16:27:24 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-28 16:27:24 +0000
commit625048799b0aa29cf8b5481e0cff9e5c70ce54d5 (patch)
tree7f4ebbfa7ed2ac4a9db7dc039c4a763882dc8342
parent21971a2f49d18ed964a9f99aec217da6ed4d88b5 (diff)
ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27024 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/patches/430-ath5k_disable_fast_cc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mac80211/patches/430-ath5k_disable_fast_cc.patch b/package/mac80211/patches/430-ath5k_disable_fast_cc.patch
new file mode 100644
index 000000000..e049645a1
--- /dev/null
+++ b/package/mac80211/patches/430-ath5k_disable_fast_cc.patch
@@ -0,0 +1,18 @@
+--- a/drivers/net/wireless/ath/ath5k/reset.c
++++ b/drivers/net/wireless/ath/ath5k/reset.c
+@@ -1035,6 +1035,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah,
+ tsf_lo = 0;
+ mode = 0;
+
++#if 0
+ /*
+ * Sanity check for fast flag
+ * Fast channel change only available
+@@ -1042,6 +1043,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah,
+ */
+ if (fast && (ah->ah_radio != AR5K_RF2413) &&
+ (ah->ah_radio != AR5K_RF5413))
++#endif
+ fast = 0;
+
+ /* Disable sleep clock operation