diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-11-01 10:44:44 +0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-11-11 14:59:00 +0400 |
commit | b4b2a0b116d79510640622a5f28f219065e61b03 (patch) | |
tree | 1d889cf3c4669165af7697c3737ca45431fa96c1 /drivers/net/wireless/ath/ath6kl/cfg80211.h | |
parent | e28e810486a6826417e77e634666f0dfc2bfe548 (diff) | |
download | linux-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/cfg80211.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/cfg80211.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.h b/drivers/net/wireless/ath/ath6kl/cfg80211.h index 3630c5e62b5f..72eadf823e0c 100644 --- a/drivers/net/wireless/ath/ath6kl/cfg80211.h +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.h @@ -19,6 +19,7 @@ enum ath6kl_cfg_suspend_mode { ATH6KL_CFG_SUSPEND_DEEPSLEEP, + ATH6KL_CFG_SUSPEND_CUTPOWER, }; struct net_device *ath6kl_interface_add(struct ath6kl *ar, char *name, |