ath9k: fix a regression in ath9k_ps_restore
authorFelix Fietkau <nbd@openwrt.org>
Thu, 22 Sep 2011 14:04:32 +0000 (08:04 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:05 +0000 (14:34 -0400)
commit1a8f0d39a04beb0fd61f46ed99fd05189083b409
tree69ebe9531447353da42dd97a1c93c78b92c3d316
parent38f04c6b1b682f1879441e2925403ad9aff9e229
ath9k: fix a regression in ath9k_ps_restore

After 'ath9k: optimize ath9k_ps_restore', it would only send the device to
network sleep and not to full sleep anymore, potentially causing more
battery drain.

Reported-by: Vivek Natarajan <nataraja@qca.qualcomm.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c