diff options
author | Vivek Natarajan | 2010-04-05 11:18:05 +0200 |
---|---|---|
committer | John W. Linville | 2010-04-07 20:37:58 +0200 |
commit | bde748a40d4d5a9915def6772e208848c105e616 (patch) | |
tree | 25881e7578788a0ff2d5e76d92ce8450a1498747 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | ath9k: Add support for newer AR9285 chipsets. (diff) | |
download | kernel-qcow2-linux-bde748a40d4d5a9915def6772e208848c105e616.tar.gz kernel-qcow2-linux-bde748a40d4d5a9915def6772e208848c105e616.tar.xz kernel-qcow2-linux-bde748a40d4d5a9915def6772e208848c105e616.zip |
ath9k_htc: Add support for power save.
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 81965b2d263b..88f8bfdbded4 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -3245,8 +3245,10 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) pCap->hw_caps |= ATH9K_HW_CAP_RFSILENT; } #endif - - pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP; + if (AR_SREV_9271(ah)) + pCap->hw_caps |= ATH9K_HW_CAP_AUTOSLEEP; + else + pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP; if (AR_SREV_9280(ah) || AR_SREV_9285(ah)) pCap->hw_caps &= ~ATH9K_HW_CAP_4KB_SPLITTRANS; |