summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-08-09 09:07:26 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-08-10 20:51:29 +0200
commite19f15ac6437624b6214b2f0ec0d69fb7eb205fa (patch)
tree259a90af7f0e10d7ad32086d254bf9cd22dad956 /drivers/net/wireless
parentwireless: at76c50x: signedness bug in at76_dfu_get_state() (diff)
downloadlinux-e19f15ac6437624b6214b2f0ec0d69fb7eb205fa.tar.xz
linux-e19f15ac6437624b6214b2f0ec0d69fb7eb205fa.zip
ath9k: stop btcoex on device suspend
During suspend, the device will be moved to FULLSLEEP state. As btcoex is never been stopped, the btcoex timer is running and tries to access hw on fullsleep state. Fix that. Cc: stable@vger.kernel.org Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c
index d455de9162ec..a978984d78a5 100644
--- a/drivers/net/wireless/ath/ath9k/pci.c
+++ b/drivers/net/wireless/ath/ath9k/pci.c
@@ -321,6 +321,7 @@ static int ath_pci_suspend(struct device *device)
* Otherwise the chip never moved to full sleep,
* when no interface is up.
*/
+ ath9k_stop_btcoex(sc);
ath9k_hw_disable(sc->sc_ah);
ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP);