summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/debug.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-11-01 10:44:44 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 14:59:00 +0400
commitb4b2a0b116d79510640622a5f28f219065e61b03 (patch)
tree1d889cf3c4669165af7697c3737ca45431fa96c1 /drivers/net/wireless/ath/ath6kl/debug.h
parente28e810486a6826417e77e634666f0dfc2bfe548 (diff)
downloadlinux-b4b2a0b116d79510640622a5f28f219065e61b03.tar.xz
ath6kl: cut power during suspend
If sdio controller doesn't support keep power, cut power from hardware during suspend and restart firmware during resume. If we are connected during suspend, send a disconnected event to user space. Earlier suspend failed with an error if sdio didn't support keep power. Now suspend will happen succesfully even with that case. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h
index 491485e95850..c24d120615ad 100644
--- a/drivers/net/wireless/ath/ath6kl/debug.h
+++ b/drivers/net/wireless/ath/ath6kl/debug.h
@@ -40,6 +40,7 @@ enum ATH6K_DEBUG_MASK {
ATH6KL_DBG_SDIO_DUMP = BIT(17),
ATH6KL_DBG_BOOT = BIT(18), /* driver init and fw boot */
ATH6KL_DBG_WMI_DUMP = BIT(19),
+ ATH6KL_DBG_SUSPEND = BIT(20),
ATH6KL_DBG_ANY = 0xffffffff /* enable all logs */
};