ath9k_hw: Enable auto sleep for ar9003
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Tue, 18 May 2010 01:57:56 +0000 (18:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:20 +0000 (16:13 -0400)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index 841c8b05a07ce3937803d875f6babd367d9f4df0..3b55c7f6bb7937aa182c47933f7914152810c5aa 100644 (file)
@@ -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;