aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2015-01-30 19:05:27 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-02-03 15:31:04 +0200
commit249943a2215c4d03c5dacf549b4ef9bf8439f17b (patch)
treecefd3cf181f81c0f8a8d10545230f7031c027abf /drivers/net/wireless/ath/ath.h
parentath9k: Fix wow init/deinit (diff)
downloadlinux-dev-249943a2215c4d03c5dacf549b4ef9bf8439f17b.tar.xz
linux-dev-249943a2215c4d03c5dacf549b4ef9bf8439f17b.zip
ath9k: Check WOW triggers properly
This patch makes sure that valid WOW triggers are present before trying to suspend the device. Also, introduce and use ATH_OP_WOW_ENABLED to bypass PCI suspend and clear it in resume(). Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r--drivers/net/wireless/ath/ath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index ccba4fea7269..1eebe2ea3dfb 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -64,6 +64,7 @@ enum ath_op_flags {
ATH_OP_HW_RESET,
ATH_OP_SCANNING,
ATH_OP_MULTI_CHANNEL,
+ ATH_OP_WOW_ENABLED,
};
enum ath_bus_type {