mac80211: backport latest version from trunk as of r27395
[openwrt-10.03/.git] / package / mac80211 / patches / 446-ath5k_disable_32khz_clock.patch
1 --- a/drivers/net/wireless/ath/ath5k/reset.c
2 +++ b/drivers/net/wireless/ath/ath5k/reset.c
3 @@ -1287,15 +1287,6 @@ int ath5k_hw_reset(struct ath5k_hw *ah, 
4          */
5         ath5k_hw_dma_init(ah);
6  
7 -
8 -       /* Enable 32KHz clock function for AR5212+ chips
9 -        * Set clocks to 32KHz operation and use an
10 -        * external 32KHz crystal when sleeping if one
11 -        * exists */
12 -       if (ah->ah_version == AR5K_AR5212 &&
13 -           op_mode != NL80211_IFTYPE_AP)
14 -               ath5k_hw_set_sleep_clock(ah, true);
15 -
16         /*
17          * Disable beacons and reset the TSF
18          */