aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/hif.h
diff options
context:
space:
mode:
authorChilam Ng <chilamng@qca.qualcomm.com>2011-10-05 10:12:52 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 12:50:55 +0200
commitaa6cffc1a275a9369ca83e13cebc4b09e4f23954 (patch)
tree0fa8abbe88ae3d64f00e797326263d6dcde78835 /drivers/net/wireless/ath/ath6kl/hif.h
parentath6kl: Minor cleanup in msg_look_ahead parameter in ath6kl_htc_rxmsg_pending_handler() (diff)
downloadlinux-dev-aa6cffc1a275a9369ca83e13cebc4b09e4f23954.tar.xz
linux-dev-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/hif.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.h b/drivers/net/wireless/ath/ath6kl/hif.h
index 797e2d1d9bf9..906fde95bdd4 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.h
+++ b/drivers/net/wireless/ath/ath6kl/hif.h
@@ -203,6 +203,7 @@ struct ath6kl_hif_ops {
struct hif_scatter_req *scat_req);
void (*cleanup_scatter)(struct ath6kl *ar);
int (*suspend)(struct ath6kl *ar);
+ int (*resume)(struct ath6kl *ar);
};
#endif