diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 034b6fdf01f3..601dbf79cc0d 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -1385,9 +1385,11 @@ static bool ath9k_hw_set_reset_power_on(struct ath_hw *ah) | |||
1385 | REG_WRITE(ah, AR_RC, AR_RC_AHB); | 1385 | REG_WRITE(ah, AR_RC, AR_RC_AHB); |
1386 | 1386 | ||
1387 | REG_WRITE(ah, AR_RTC_RESET, 0); | 1387 | REG_WRITE(ah, AR_RTC_RESET, 0); |
1388 | udelay(2); | ||
1389 | 1388 | ||
1390 | if (!AR_SREV_9100(ah)) | 1389 | if (!AR_SREV_9300_20_OR_LATER(ah)) |
1390 | udelay(2); | ||
1391 | |||
1392 | if (!AR_SREV_9100(ah) && !AR_SREV_9300_20_OR_LATER(ah)) | ||
1391 | REG_WRITE(ah, AR_RC, 0); | 1393 | REG_WRITE(ah, AR_RC, 0); |
1392 | 1394 | ||
1393 | REG_WRITE(ah, AR_RTC_RESET, 1); | 1395 | REG_WRITE(ah, AR_RTC_RESET, 1); |