aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index c14cf5aa403b..e4e73f061a22 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -151,8 +151,10 @@ static void __ath_cancel_work(struct ath_softc *sc)
151 cancel_delayed_work_sync(&sc->tx_complete_work); 151 cancel_delayed_work_sync(&sc->tx_complete_work);
152 cancel_delayed_work_sync(&sc->hw_pll_work); 152 cancel_delayed_work_sync(&sc->hw_pll_work);
153 153
154#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
154 if (ath9k_hw_mci_is_enabled(sc->sc_ah)) 155 if (ath9k_hw_mci_is_enabled(sc->sc_ah))
155 cancel_work_sync(&sc->mci_work); 156 cancel_work_sync(&sc->mci_work);
157#endif
156} 158}
157 159
158static void ath_cancel_work(struct ath_softc *sc) 160static void ath_cancel_work(struct ath_softc *sc)