ath9k: Set AR_WA for AR9287 as it improves consistency in throughput.
authorVivek Natarajan <vivek.natraj@gmail.com>
Fri, 14 Aug 2009 05:59:27 +0000 (11:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:51 +0000 (11:35 -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 125e689f7c5cf22879f0e49eaad4373876888cd2..9a139dcc69b3872b010af3afa9c0cdf3ccb528f8 100644 (file)
@@ -3073,7 +3073,7 @@ void ath9k_hw_configpcipowersave(struct ath_hw *ah, int restore)
        if (ah->config.pcie_waen) {
                REG_WRITE(ah, AR_WA, ah->config.pcie_waen);
        } else {
-               if (AR_SREV_9285(ah) || AR_SREV_9271(ah))
+               if (AR_SREV_9285(ah) || AR_SREV_9271(ah) || AR_SREV_9287(ah))
                        REG_WRITE(ah, AR_WA, AR9285_WA_DEFAULT);
                /*
                 * On AR9280 chips bit 22 of 0x4004 needs to be set to