diff options
author | Chaitanya T K <chaitanya.mgit@gmail.com> | 2015-06-10 15:42:31 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-07-17 11:13:21 +0200 |
commit | 541b6ed7cee1ec7c8f525f51a0ff097776111aeb (patch) | |
tree | a96f6e250b9021f04e77dfb7b03b790dfcd5f3c0 /net/mac80211/iface.c | |
parent | mac80211: don't clear all tx flags when requeing (diff) | |
download | linux-541b6ed7cee1ec7c8f525f51a0ff097776111aeb.tar.xz linux-541b6ed7cee1ec7c8f525f51a0ff097776111aeb.zip |
mac80211: wowlan: enable powersave if suspend while ps-polling
If for any reason we're in the middle of PS-polling or awake after
TX due to dynamic powersave while going to suspend, go back to save
power. This might cause a response frame to get lost, but since we
can't really wait for it while going to suspend that's still better
than not enabling powersave which would cause higher power usage
during (and possibly even after) suspend.
Note that this really only affects the very few drivers that use
the powersave implementation in mac80211.
Signed-off-by: Chaitanya T K <chaitanya.mgit@gmail.com>
[rewrite misleading commit log]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions