]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix suspend by waking device prior to stop
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 24 Dec 2009 01:03:27 +0000 (20:03 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:20:00 +0000 (16:20 -0500)
commit52a02dcd8e907bef13fa068b421ab54a723fb458
tree10cd7cc2f289e8a5de30edcb26cc56a6d6484708
parent55365de92b1657820a377cabcae1058603102e5a
ath9k: fix suspend by waking device prior to stop

Ensure the device is awake prior to trying to tell hardware
to stop it. Impact of not doing this is we can likely leave
the device in an undefined state likely causing issues with
suspend and resume. This patch ensures harware is where it
should be prior to suspend.

Cc: stable@kernel.org
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c