• Chaitanya T K's avatar
    mac80211: wowlan: enable powersave if suspend while ps-polling · 541b6ed7
    Chaitanya T K authored
    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: default avatarChaitanya T K <chaitanya.mgit@gmail.com>
    [rewrite misleading commit log]
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    541b6ed7
pm.c 5.08 KB