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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d8903a5361817bd96ceed212ad27a380e7ef4d8e;p=openwrt%2Fstaging%2Fblogic.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);