mac80211: allow driver to impose WoWLAN restrictions
commit2b4562dfd6ad3579951de21168cb9d266ed3f1bd
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2011 22:02:01 +0000 (2 00:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:26:56 +0000 (5 15:26 -0400)
tree38b43f58644fc02ffeb0930009b979542362ea88
parent304e21bbeab0d208dc7e6142fb75db8a466d5217
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