aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9002_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9002_hw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_hw.c b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
index 44d9d8d56490..70a18d14db19 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
@@ -303,8 +303,7 @@ static void ar9002_hw_init_mode_gain_regs(struct ath_hw *ah)
303 * register as the other analog registers. Hence the 9 writes. 303 * register as the other analog registers. Hence the 9 writes.
304 */ 304 */
305static void ar9002_hw_configpcipowersave(struct ath_hw *ah, 305static void ar9002_hw_configpcipowersave(struct ath_hw *ah,
306 int restore, 306 bool power_off)
307 int power_off)
308{ 307{
309 u8 i; 308 u8 i;
310 u32 val; 309 u32 val;
@@ -313,7 +312,7 @@ static void ar9002_hw_configpcipowersave(struct ath_hw *ah,
313 return; 312 return;
314 313
315 /* Nothing to do on restore for 11N */ 314 /* Nothing to do on restore for 11N */
316 if (!restore) { 315 if (!power_off /* !restore */) {
317 if (AR_SREV_9280_20_OR_LATER(ah)) { 316 if (AR_SREV_9280_20_OR_LATER(ah)) {
318 /* 317 /*
319 * AR9280 2.0 or later chips use SerDes values from the 318 * AR9280 2.0 or later chips use SerDes values from the