ath9k: restore PS mode, before we put the chip into FULL SLEEP state.
authorGabor Juhos <juhosg@openwrt.org>
Wed, 17 Jun 2009 18:53:21 +0000 (20:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Jun 2009 15:50:23 +0000 (11:50 -0400)
commit38ab422e64d991472ce21ffdd7a37e8a02279697
tree6370389e0d8472c9aff7eef5d705032504462768
parent58f5fffdc3b8567b3fa8ed77d75699db87e2d1d4
ath9k: restore PS mode, before we put the chip into FULL SLEEP state.

We want to put the chip into FULL SLEEP state, when we are disabling the
radio, but the the current code always change it to AWAKE/NETWORK SLEEP.

Changes-licensed-under: ISC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c