From: Vasanthakumar Thiagarajan Date: Thu, 15 Apr 2010 21:39:25 +0000 (-0400) Subject: ath9k: Load SW filtered NF values and start NF cal during full reset for AR9003 X-Git-Tag: firefly_0821_release~9833^2~2087^2~167^2~200 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d8903a5361817bd96ceed212ad27a380e7ef4d8e;p=firefly-linux-kernel-4.4.55.git ath9k: Load SW filtered NF values and start NF cal during full reset for AR9003 Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index a6f8032e54d6..824dd9e72564 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -1324,6 +1324,11 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, if (ah->btcoex_hw.enabled) ath9k_hw_btcoex_enable(ah); + if (AR_SREV_9300_20_OR_LATER(ah)) { + ath9k_hw_loadnf(ah, curchan); + ath9k_hw_start_nfcal(ah); + } + return 0; } EXPORT_SYMBOL(ath9k_hw_reset);