diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-08-11 13:52:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-08-11 13:52:27 +0000 |
commit | 400f75a1b657eceb5e661adb5bf56c2498b4a2ff (patch) | |
tree | 1d85da294b86812834c0c0ba2c7ef076e866bbdb /package/mac80211/patches/445-ath5k_fix_mac_clock_restore.patch | |
parent | ce2ced73118dfd1dab21392f91cda19f005f949d (diff) | |
download | master-31e0f0ae-400f75a1b657eceb5e661adb5bf56c2498b4a2ff.tar.gz master-31e0f0ae-400f75a1b657eceb5e661adb5bf56c2498b4a2ff.tar.bz2 master-31e0f0ae-400f75a1b657eceb5e661adb5bf56c2498b4a2ff.zip |
mac80211: update to 2011-08-10
SVN-Revision: 27958
Diffstat (limited to 'package/mac80211/patches/445-ath5k_fix_mac_clock_restore.patch')
-rw-r--r-- | package/mac80211/patches/445-ath5k_fix_mac_clock_restore.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/package/mac80211/patches/445-ath5k_fix_mac_clock_restore.patch b/package/mac80211/patches/445-ath5k_fix_mac_clock_restore.patch deleted file mode 100644 index e171cd116f..0000000000 --- a/package/mac80211/patches/445-ath5k_fix_mac_clock_restore.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/drivers/net/wireless/ath/ath5k/reset.c -+++ b/drivers/net/wireless/ath/ath5k/reset.c -@@ -233,7 +233,7 @@ static void ath5k_hw_init_core_clock(str - static void ath5k_hw_set_sleep_clock(struct ath5k_hw *ah, bool enable) - { - struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; -- u32 scal, spending; -+ u32 scal, spending, sclock; - - /* Only set 32KHz settings if we have an external - * 32KHz crystal present */ -@@ -317,6 +317,15 @@ static void ath5k_hw_set_sleep_clock(str - - /* Set up tsf increment on each cycle */ - AR5K_REG_WRITE_BITS(ah, AR5K_TSF_PARM, AR5K_TSF_PARM_INC, 1); -+ -+ if ((ah->ah_radio == AR5K_RF5112) || -+ (ah->ah_radio == AR5K_RF5413) || -+ (ah->ah_radio == AR5K_RF2316) || -+ (ah->ah_radio == AR5K_RF2317)) -+ sclock = 40 - 1; -+ else -+ sclock = 32 - 1; -+ AR5K_REG_WRITE_BITS(ah, AR5K_USEC_5211, AR5K_USEC_32, sclock); - } - } - |