From: Vasanthakumar Thiagarajan Date: Tue, 18 May 2010 01:57:56 +0000 (-0700) Subject: ath9k_hw: Enable auto sleep for ar9003 X-Git-Tag: v3.12-rc1~9497^2~107^2~434 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5d1154ffdc87b618518629fce44d51834df0f2e;p=kernel%2Fkernel-generic.git ath9k_hw: Enable auto sleep for ar9003 Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 841c8b0..3b55c7f 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2167,7 +2167,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah) pCap->hw_caps |= ATH9K_HW_CAP_RFSILENT; } #endif - if (AR_SREV_9271(ah)) + if (AR_SREV_9271(ah) || AR_SREV_9300_20_OR_LATER(ah)) pCap->hw_caps |= ATH9K_HW_CAP_AUTOSLEEP; else pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP;