diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-27 06:29:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-11-27 06:29:09 +0000 |
commit | cb769395712eea525b9e2990e8a9feb341d232cd (patch) | |
tree | 6427d33815f811446d0fbd5321516bb08bd779d0 /package/mac80211 | |
parent | 2dfa9533f9ce80a0162c18b64fcff5337b012b02 (diff) | |
download | master-31e0f0ae-cb769395712eea525b9e2990e8a9feb341d232cd.tar.gz master-31e0f0ae-cb769395712eea525b9e2990e8a9feb341d232cd.tar.bz2 master-31e0f0ae-cb769395712eea525b9e2990e8a9feb341d232cd.zip |
ath9k: fix a regression in touching power mode related registers
SVN-Revision: 29341
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/patches/544-ath9k_fix_sleep_mode_reg.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/544-ath9k_fix_sleep_mode_reg.patch b/package/mac80211/patches/544-ath9k_fix_sleep_mode_reg.patch new file mode 100644 index 0000000000..2231b444e6 --- /dev/null +++ b/package/mac80211/patches/544-ath9k_fix_sleep_mode_reg.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/ath/ath9k/hw.c ++++ b/drivers/net/wireless/ath/ath9k/hw.c +@@ -1846,7 +1846,8 @@ static void ath9k_set_power_sleep(struct + } + + /* Clear Bit 14 of AR_WA after putting chip into Full Sleep mode. */ +- REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE); ++ if (AR_SREV_9300_20_OR_LATER(ah)) ++ REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE); + } + + /* |