diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2012-09-04 10:03:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-11 15:13:53 -0400 |
commit | 827810425befee2c2d86844eb3dce66a78938f06 (patch) | |
tree | 31800d8550d00deca2a4c314ea969b9c8108b3d7 /drivers | |
parent | 7f34778e79048fae1a88100de917277375466de0 (diff) |
ath9k_htc: Cancel BTCOEX related work before disabling BTCOEX
Before disabling BTCOEX in the h/w cancel all BTCOEX related
works. This is similar to the commit in ath9k(c32cdbd8)
ath9k: Stop the BTCOEX timers before disabling BTCOEX
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c index fe4836becaa2..8fd64a6f0eb9 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | |||
@@ -173,9 +173,9 @@ void ath9k_htc_stop_btcoex(struct ath9k_htc_priv *priv) | |||
173 | 173 | ||
174 | if (ah->btcoex_hw.enabled && | 174 | if (ah->btcoex_hw.enabled && |
175 | ath9k_hw_get_btcoex_scheme(ah) != ATH_BTCOEX_CFG_NONE) { | 175 | ath9k_hw_get_btcoex_scheme(ah) != ATH_BTCOEX_CFG_NONE) { |
176 | ath9k_hw_btcoex_disable(ah); | ||
177 | if (ah->btcoex_hw.scheme == ATH_BTCOEX_CFG_3WIRE) | 176 | if (ah->btcoex_hw.scheme == ATH_BTCOEX_CFG_3WIRE) |
178 | ath_htc_cancel_btcoex_work(priv); | 177 | ath_htc_cancel_btcoex_work(priv); |
178 | ath9k_hw_btcoex_disable(ah); | ||
179 | } | 179 | } |
180 | } | 180 | } |
181 | 181 | ||