mac80211: backport latest version from trunk (as of r28137)
[openwrt-10.03/.git] / package / mac80211 / patches / 430-ath5k_disable_fast_cc.patch
1 --- a/drivers/net/wireless/ath/ath5k/reset.c
2 +++ b/drivers/net/wireless/ath/ath5k/reset.c
3 @@ -1040,6 +1040,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah, 
4         tsf_lo = 0;
5         mode = 0;
6  
7 +#if 0
8         /*
9          * Sanity check for fast flag
10          * Fast channel change only available
11 @@ -1047,6 +1048,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah, 
12          */
13         if (fast && (ah->ah_radio != AR5K_RF2413) &&
14         (ah->ah_radio != AR5K_RF5413))
15 +#endif
16                 fast = 0;
17  
18         /* Disable sleep clock operation