cfg80211/mac80211: enable proper device_set_wakeup_enable handling
In WoWLAN, we only get the triggers when we actually get to suspend. As a consequence, drivers currently don't know that the device should enable wakeup. However, the device_set_wakeup_enable() API is intended to be called when the wakeup is enabled, not later when needed. Add a new set_wakeup() call to cfg80211 and mac80211 to allow drivers to properly call device_set_wakeup_enable. Signed-off-by:Johannes Berg <johannes.berg@intel.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- include/net/cfg80211.h 4 additions, 0 deletionsinclude/net/cfg80211.h
- include/net/mac80211.h 1 addition, 0 deletionsinclude/net/mac80211.h
- net/mac80211/cfg.c 10 additions, 0 deletionsnet/mac80211/cfg.c
- net/mac80211/driver-ops.h 13 additions, 0 deletionsnet/mac80211/driver-ops.h
- net/mac80211/driver-trace.h 14 additions, 0 deletionsnet/mac80211/driver-trace.h
- net/wireless/core.c 4 additions, 1 deletionnet/wireless/core.c
- net/wireless/nl80211.c 4 additions, 0 deletionsnet/wireless/nl80211.c
Loading
Please register or sign in to comment