ath9k: Set HW state properly
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 13 Aug 2009 04:04:37 +0000 (09:34 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:14:09 +0000 (09:14 -0400)
commiteff563cf10e2f24e3b025d352c3aa174cf0111b3
tree93cde0456157c12efc15f2f56bacb55c6799f4d0
parent523c36fc9cf75ccf605d9acf68ae9eb857de3f58
ath9k: Set HW state properly

This patch fixes a bug in ath9k_stop() where the HW
was not put into FULL_SLEEP state. Not doing so will
cause issues in suspend-resume and the HW will not respond
to chip resets.

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