ath6kl: make sure WLAN power save is enabled during suspend
authorChilam Ng <chilamng@qca.qualcomm.com>
Wed, 5 Oct 2011 07:12:52 +0000 (10:12 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:50:55 +0000 (12:50 +0200)
commitaa6cffc1a275a9369ca83e13cebc4b09e4f23954
tree0fa8abbe88ae3d64f00e797326263d6dcde78835
parent4533d901a4a78542544b91ad620fffd3307ade04
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>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/hif-ops.h
drivers/net/wireless/ath/ath6kl/hif.h
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/sdio.c
drivers/net/wireless/ath/ath6kl/wmi.h