aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 3ed5c9ec7bc1..2f83f975b891 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -609,9 +609,6 @@ static int __ath9k_hw_init(struct ath_hw *ah)
609 else 609 else
610 ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S); 610 ah->tx_trig_level = (AR_FTRIG_512B >> AR_FTRIG_S);
611 611
612 if (AR_SREV_9300_20_OR_LATER(ah))
613 ar9003_hw_set_nf_limits(ah);
614
615 ath9k_init_nfcal_hist_buffer(ah); 612 ath9k_init_nfcal_hist_buffer(ah);
616 ah->bb_watchdog_timeout_ms = 25; 613 ah->bb_watchdog_timeout_ms = 25;
617 614
@@ -1235,9 +1232,11 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
1235 1232
1236 if (!ah->chip_fullsleep) { 1233 if (!ah->chip_fullsleep) {
1237 ath9k_hw_abortpcurecv(ah); 1234 ath9k_hw_abortpcurecv(ah);
1238 if (!ath9k_hw_stopdmarecv(ah)) 1235 if (!ath9k_hw_stopdmarecv(ah)) {
1239 ath_print(common, ATH_DBG_XMIT, 1236 ath_print(common, ATH_DBG_XMIT,
1240 "Failed to stop receive dma\n"); 1237 "Failed to stop receive dma\n");
1238 bChannelChange = false;
1239 }
1241 } 1240 }
1242 1241
1243 if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE)) 1242 if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE))