diff options
author | Chilam Ng <chilamng@qca.qualcomm.com> | 2011-10-05 10:12:52 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-11-11 12:50:55 +0200 |
commit | aa6cffc1a275a9369ca83e13cebc4b09e4f23954 (patch) | |
tree | 0fa8abbe88ae3d64f00e797326263d6dcde78835 /drivers/net/wireless/ath/ath6kl/wmi.h | |
parent | 4533d901a4a78542544b91ad620fffd3307ade04 (diff) | |
download | linux-aa6cffc1a275a9369ca83e13cebc4b09e4f23954.tar.gz linux-aa6cffc1a275a9369ca83e13cebc4b09e4f23954.tar.xz linux-aa6cffc1a275a9369ca83e13cebc4b09e4f23954.zip |
ath6kl: make sure WLAN power save is enabled during suspend
Power save is enabled during ath6kl init. But when user space disables power
save, the system will go into suspend with power save disabled. The ath6kl
driver will now explicitly enable power save prior to entering suspend and
restore its previous setting upon resume
Signed-off-by: Chilam Ng <chilamng@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h index f8e644d54aa7..1600e7c878a4 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.h +++ b/drivers/net/wireless/ath/ath6kl/wmi.h @@ -132,6 +132,7 @@ struct wmi { u8 *last_mgmt_tx_frame; size_t last_mgmt_tx_frame_len; + u8 saved_pwr_mode; }; struct host_app_area { |