ath9k: Start AIC calibration during MCI reset
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Sat, 14 Mar 2015 05:57:57 +0000 (11:27 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 20 Mar 2015 06:28:14 +0000 (08:28 +0200)
When a MCI reset is done, make sure that AIC
is started.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ar9003_mci.c

index cdd83d4..af5ee41 100644 (file)
@@ -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;
 }