summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-06-04 16:27:19 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-06-06 15:20:24 -0400
commite270e776a0985511146555e79edbe53539809adb (patch)
tree572a64737379ed58f0a6b8944e1ffa64c6750fd7 /drivers/net/wireless/ath/ath9k/main.c
parentd09f5f4cfb9f4c6aa8c18ea522e824660d4096d7 (diff)
downloadlwn-e270e776a0985511146555e79edbe53539809adb.tar.gz
lwn-e270e776a0985511146555e79edbe53539809adb.zip
ath9k: Setup MCI interrupts properly
MCI interrupts have to be enabled only when BTCOEX is actually in use. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index cfbcc047c61e..3809fc8ec8a4 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1045,8 +1045,7 @@ static int ath9k_start(struct ieee80211_hw *hw)
if (ah->caps.hw_caps & ATH9K_HW_CAP_HT)
ah->imask |= ATH9K_INT_CST;
- if (ah->caps.hw_caps & ATH9K_HW_CAP_MCI)
- ah->imask |= ATH9K_INT_MCI;
+ ath_mci_enable(sc);
sc->sc_flags &= ~SC_OP_INVALID;
sc->sc_ah->is_monitoring = false;