From: Sujith Manoharan Date: Sat, 14 Mar 2015 05:57:57 +0000 (+0530) Subject: ath9k: Start AIC calibration during MCI reset X-Git-Tag: v4.14-rc1~5592^2~95^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7644317bd39c147c888b5d4cea3e2706d12483dd;p=platform%2Fkernel%2Flinux-rpi.git ath9k: Start AIC calibration during MCI reset When a MCI reset is done, make sure that AIC is started. Signed-off-by: Sujith Manoharan Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c index cdd83d40..af5ee41 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c @@ -1017,6 +1017,9 @@ int ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g, if (en_int) ar9003_mci_enable_interrupt(ah); + if (ath9k_hw_is_aic_enabled(ah)) + ar9003_aic_start_normal(ah); + return 0; }