]> 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)
commit908a32695027537bc8583e5bf36a0256ead1be63
tree38b43f58644fc02ffeb0930009b979542362ea88
parentdacdf0eea057b2c07c4909a7e8bf4087e224e3b0
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