mac80211: purge remain-on-channel items when suspending
authorJohannes Berg <johannes.berg@intel.com>
Wed, 27 Mar 2013 21:49:19 +0000 (22:49 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 07:17:00 +0000 (09:17 +0200)
commitc8f994eec2a966a7a5fb6a3be517e3ede6a3cafa
treee2c04a5459150da9f57ad60849351642b6a4fa92
parentafdc7c18e9f2a768865b6caa886e605719a6304e
mac80211: purge remain-on-channel items when suspending

They can't really be executed while suspended and could
trigger work warnings, so abort all ROC items. When the
system resumes the notifications about this will be
delivered to userspace which can then act accordingly
(though it will assume they were canceled/finished.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/offchannel.c
net/mac80211/pm.c