ath9k_htc: Fix suspend/resume
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Wed, 1 Dec 2010 07:00:27 +0000 (12:30 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Dec 2010 20:23:47 +0000 (15:23 -0500)
commitf933ebed7888a9a7d73ebeeb6bcbb3f710c423b4
tree19f8c2e29e986303c42fe83ce8724fcd444a8618
parentb93996cf67d47597efad03d5e5431c7b8b11e688
ath9k_htc: Fix suspend/resume

The HW has to be set to FULLSLEEP mode during suspend,
when no interface has been brought up. Not doing this would
break resume, as the chip won't be powered up at all.

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/htc_drv_main.c