aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/420-ath5k_disable_fast_cc.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-16 21:08:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-16 21:08:41 +0000
commitc0c371b58134d391f46de6dabf2bd0a96267cb38 (patch)
tree7b489799c8ddbfdd0ac3462317ce2be1a41368ed /package/mac80211/patches/420-ath5k_disable_fast_cc.patch
parentc379502147ee31e5b429ea8c38ae8c79e158e96a (diff)
downloadupstream-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.gz
upstream-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.bz2
upstream-c0c371b58134d391f46de6dabf2bd0a96267cb38.zip
mac80211: update to wireless-testing 2012-04-13
SVN-Revision: 31322
Diffstat (limited to 'package/mac80211/patches/420-ath5k_disable_fast_cc.patch')
-rw-r--r--package/mac80211/patches/420-ath5k_disable_fast_cc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mac80211/patches/420-ath5k_disable_fast_cc.patch b/package/mac80211/patches/420-ath5k_disable_fast_cc.patch
new file mode 100644
index 0000000000..b63382e4bc
--- /dev/null
+++ b/package/mac80211/patches/420-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
+@@ -1155,6 +1155,7 @@ ath5k_hw_reset(struct ath5k_hw *ah, enum
+ tsf_lo = 0;
+ mode = 0;
+
++#if 0
+ /*
+ * Sanity check for fast flag
+ * Fast channel change only available
+@@ -1162,6 +1163,7 @@ ath5k_hw_reset(struct ath5k_hw *ah, enum
+ */
+ if (fast && (ah->ah_radio != AR5K_RF2413) &&
+ (ah->ah_radio != AR5K_RF5413))
++#endif
+ fast = false;
+
+ /* Disable sleep clock operation