ath9k: Disable autosleep feature for AR9285 based chipsets.
authorVivek Natarajan <vivek.natraj@gmail.com>
Tue, 14 Apr 2009 10:51:01 +0000 (16:21 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:14 +0000 (16:57 -0400)
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index 9cb85b0e9851d44ce1c2f5b1671997a90885e73b..ec2a7a40b00d6bb97505e9c73cf165a0fee8c7ec 100644 (file)
@@ -3377,7 +3377,8 @@ void ath9k_hw_fill_cap_info(struct ath_hw *ah)
            (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCIE) ||
            (ah->hw_version.macVersion == AR_SREV_VERSION_9160) ||
            (ah->hw_version.macVersion == AR_SREV_VERSION_9100) ||
-           (ah->hw_version.macVersion == AR_SREV_VERSION_9280))
+           (ah->hw_version.macVersion == AR_SREV_VERSION_9280) ||
+           (ah->hw_version.macVersion == AR_SREV_VERSION_9285))
                pCap->hw_caps &= ~ATH9K_HW_CAP_AUTOSLEEP;
        else
                pCap->hw_caps |= ATH9K_HW_CAP_AUTOSLEEP;