ath9k: move btcoex core driver info to its own struct
There is some bluetooth coexistance data which is driver specific, stuff that into its own structure. Cc: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
4d6b228d84
commit
2e20250a2c
@@ -2013,7 +2013,7 @@ static int ath9k_start(struct ieee80211_hw *hw)
|
||||
|
||||
ath_pcie_aspm_disable(sc);
|
||||
if (sc->btcoex_info.btcoex_scheme == ATH_BTCOEX_CFG_3WIRE)
|
||||
ath_btcoex_timer_resume(sc, &sc->btcoex_info);
|
||||
ath_btcoex_timer_resume(sc);
|
||||
}
|
||||
|
||||
mutex_unlock:
|
||||
@@ -2152,7 +2152,7 @@ static void ath9k_stop(struct ieee80211_hw *hw)
|
||||
if (sc->sc_flags & SC_OP_BTCOEX_ENABLED) {
|
||||
ath9k_hw_btcoex_disable(sc->sc_ah);
|
||||
if (sc->btcoex_info.btcoex_scheme == ATH_BTCOEX_CFG_3WIRE)
|
||||
ath_btcoex_timer_pause(sc, &sc->btcoex_info);
|
||||
ath_btcoex_timer_pause(sc);
|
||||
}
|
||||
|
||||
/* make sure h/w will not generate any interrupt
|
||||
|
Reference in New Issue
Block a user