1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-23 06:01:30 +03:00
openwrt-xburst/package/mac80211/patches/430-ath5k_disable_fast_cc.patch
hauke 58dfdd9138 package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:16:38 +00:00

19 lines
470 B
Diff

--- 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