Build fix in drivers/net/wireless/ath/ath9k/main.c
Subsystems (3)
PATCH 1/1 Build fix in drivers/net/wireless/ath/ath9k/main.c
Commit fad29cd2f59949581050a937786c2c9bc78b2f04 broke the build if no CONFIG_ATH9K_BTCOEX_SUPPORT is enabled.
--- drivers/net/wireless/ath/ath9k/main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath9k/main.c +2 -0
@@ -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)
Signature · 1 line
1.7.8.6
Thanks, but Sujith beat you to the same fix.
John
Quoted 27 lines · Arvydas Sidorenko
Commit
fad29cd2f59949581050a937786c2c9bc78b2f04broke the build if noCONFIG_ATH9K_BTCOEX_SUPPORTis enabled.Signed-off-by Arvydas Sidorenko <[email protected]>--- drivers/net/wireless/ath/ath9k/main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)drivers/net/wireless/ath/ath9k/main.c +2
-0@@ -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)Signature · 1 line
1.7.8.6
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you linville at tuxdriver.com might be all we have. Be ready.
Hi,
Quoted 24 lines · Arvydas Sidorenko
Commit
fad29cd2f59949581050a937786c2c9bc78b2f04broke the build if noCONFIG_ATH9K_BTCOEX_SUPPORTis enabled.Signed-off-by Arvydas Sidorenko <[email protected]>---
?drivers/net/wireless/ath/ath9k/main.c | ? ?2 ++
?1 files changed, 2 insertions(+), 0 deletions(-)drivers/net/wireless/ath/ath9k/main.c +2
-1@@ -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) --
Quoted 1 line
1.7.8.6
thanks for the patch, but it was just sent some time back
http://www.spinics.net/lists/linux-wireless/msg93078.html
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo at vger.kernel.org
More majordomo info at ?http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
thanks, shafi