diff options
author | Vivek Natarajan <vnatarajan@atheros.com> | 2010-01-29 16:56:51 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-29 10:43:37 -0500 |
commit | 1dbfd9d46a6df5232ba0b12d2da950da89eff3da (patch) | |
tree | f9103cc7069d38e04666ebaeac705e2e6f59c30e /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | f276586a8af410d2b79733daf52471605b6559e9 (diff) | |
download | lwn-1dbfd9d46a6df5232ba0b12d2da950da89eff3da.tar.gz lwn-1dbfd9d46a6df5232ba0b12d2da950da89eff3da.zip |
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.h | 1 |
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 { u8 nbcnvifs; u16 nvifs; bool ps_enabled; + bool ps_idle; unsigned long ps_usecount; enum ath9k_int imask; |