ath9k: Handle full sleep in ps_restore.
authorVivek Natarajan <vnatarajan@atheros.com>
Fri, 29 Jan 2010 11:26:51 +0000 (16:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Jan 2010 15:43:37 +0000 (10:43 -0500)
commit1dbfd9d46a6df5232ba0b12d2da950da89eff3da
treef9103cc7069d38e04666ebaeac705e2e6f59c30e
parentf276586a8af410d2b79733daf52471605b6559e9
ath9k: Handle full sleep in ps_restore.

IDLE PS (Full Sleep) doesn't work when ifconfig up
is done during Idle unassociated state.
Fix this by restoring FULL SLEEP in ps_restore if CONF_IDLE
is set.

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