From: Johannes Berg Date: Wed, 4 Apr 2012 13:05:25 +0000 (+0200) Subject: cfg80211/mac80211: enable proper device_set_wakeup_enable handling X-Git-Tag: v3.5-rc1~109^2~487^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d52563f2bc217cbdccb97068f5b6176352f01f2;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed