summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ar9003_mci.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2015-03-14 05:57:53 (GMT)
committerKalle Valo <kvalo@codeaurora.org>2015-03-20 06:27:25 (GMT)
commit208837eeb925e5fddc514e4f93a69b1639fa15ba (patch)
tree75315f8c114804eb56044263a6296d5fad738b08 /drivers/net/wireless/ath/ath9k/ar9003_mci.c
parent188f1a1288d59ed9ae895bdbf22d46017a8a69b8 (diff)
downloadlinux-208837eeb925e5fddc514e4f93a69b1639fa15ba.tar.xz
ath9k: Disable AIC by default
Since various MCI messages need to be handled, along with driver-level support in upper layers, disable AIC for now. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mci.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
index 20bb5b9..6fa98e5 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mci.c
@@ -1364,7 +1364,8 @@ u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type)
mci->need_flush_btinfo = false;
break;
case MCI_STATE_AIC_CAL_SINGLE:
- value = ar9003_aic_calibration_single(ah);
+ if (ath9k_hw_is_aic_enabled(ah))
+ value = ar9003_aic_calibration_single(ah);
break;
default:
break;