]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: allow driver to impose WoWLAN restrictions
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2011 22:02:01 +0000 (00:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:26:56 +0000 (15:26 -0400)
commitbd46d20d1dbda8f98235333c9577d29a8c5cdec2
tree38b43f58644fc02ffeb0930009b979542362ea88
parentd190e11c229dfeb4d667c008d1ff13e5c9eace61
mac80211: allow driver to impose WoWLAN restrictions

If the driver can't support WoWLAN in the current
state, this patch allows it to return 1 from the
suspend callback to do the normal deconfiguration
instead of using suspend/resume calls. Note that
if it does this, resume won't be called.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/pm.c