projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd02c6
)
ath9k: Fix compilation breakage
author
Sujith Manoharan
<
[email protected]
>
Wed, 27 Jun 2012 08:45:59 +0000
(14:15 +0530)
committer
John W. Linville
<
[email protected]
>
Wed, 27 Jun 2012 19:23:19 +0000
(15:23 -0400)
Wrap the MCI-work canceling with CONFIG_ATH9K_BTCOEX_SUPPORT.
Reported-by: Emmanuel Benisty <
[email protected]
>
Signed-off-by: Sujith Manoharan <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/main.c
b/drivers/net/wireless/ath/ath9k/main.c
index c14cf5aa403be62f7a569f791796c0d2ca8967a1..e4e73f061a221e6c0eb30f7df2e2360164becd6b 100644
(file)
--- 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)
cancel_delayed_work_sync(&sc->tx_complete_work);
cancel_delayed_work_sync(&sc->hw_pll_work);
+#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
if (ath9k_hw_mci_is_enabled(sc->sc_ah))
cancel_work_sync(&sc->mci_work);
+#endif
}
static void ath_cancel_work(struct ath_softc *sc)