diff options
| author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2012-07-06 20:09:32 +0530 | 
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2012-07-09 16:36:38 -0400 | 
| commit | c32cdbd84ffe289a1386eccb794b047a8366913d (patch) | |
| tree | e1db2cc081be5aea8587061c53c546ecc8984333 /drivers/net/wireless/ath/ath9k/gpio.c | |
| parent | dd89f05a7572684bbbc1483c60418504cc91cfe6 (diff) | |
| download | olio-linux-3.10-c32cdbd84ffe289a1386eccb794b047a8366913d.tar.xz olio-linux-3.10-c32cdbd84ffe289a1386eccb794b047a8366913d.zip  | |
ath9k: Stop the BTCOEX timers before disabling BTCOEX
Its safe to stop the BTCOEX timers 'period_timer' and
'no_stomp_timer' before disabling BTCOEX. These timers
can call ath9k_hw_btcoex_enable (or) change the BT
stomp type if they seem to be running after we had
called ath9k_hw_btcoex_disable, which is obviously
not correct.
Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Cc: Bala Shanmugam <bkamatch@qca.qualcomm.com>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/gpio.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath9k/gpio.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c index c9ac7df9b88..bacdb8fb4ef 100644 --- a/drivers/net/wireless/ath/ath9k/gpio.c +++ b/drivers/net/wireless/ath/ath9k/gpio.c @@ -393,9 +393,9 @@ void ath9k_stop_btcoex(struct ath_softc *sc)  	if (ah->btcoex_hw.enabled &&  	    ath9k_hw_get_btcoex_scheme(ah) != ATH_BTCOEX_CFG_NONE) { -		ath9k_hw_btcoex_disable(ah);  		if (ath9k_hw_get_btcoex_scheme(ah) == ATH_BTCOEX_CFG_3WIRE)  			ath9k_btcoex_timer_pause(sc); +		ath9k_hw_btcoex_disable(ah);  		if (AR_SREV_9462(ah))  			ath_mci_flush_profile(&sc->btcoex.mci);  	}  |