aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorVivek Natarajan <vnatarajan@atheros.com>2010-01-29 06:26:51 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-29 10:43:37 -0500
commit1dbfd9d46a6df5232ba0b12d2da950da89eff3da (patch)
treef9103cc7069d38e04666ebaeac705e2e6f59c30e /drivers/net/wireless/ath/ath9k/ath9k.h
parentf276586a8af410d2b79733daf52471605b6559e9 (diff)
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index bdbcc70df075..3f8a7e773d55 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -480,6 +480,7 @@ struct ath_softc {
480 u8 nbcnvifs; 480 u8 nbcnvifs;
481 u16 nvifs; 481 u16 nvifs;
482 bool ps_enabled; 482 bool ps_enabled;
483 bool ps_idle;
483 unsigned long ps_usecount; 484 unsigned long ps_usecount;
484 enum ath9k_int imask; 485 enum ath9k_int imask;
485 486