ath9k: Stop the BTCOEX timers before disabling BTCOEX
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 6 Jul 2012 14:39:32 +0000 (20:09 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:36:38 +0000 (16:36 -0400)
commitc32cdbd84ffe289a1386eccb794b047a8366913d
treee1db2cc081be5aea8587061c53c546ecc8984333
parentdd89f05a7572684bbbc1483c60418504cc91cfe6
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>
drivers/net/wireless/ath/ath9k/gpio.c
drivers/net/wireless/ath/ath9k/mci.c