aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-27 17:49:19 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-04-08 03:17:00 -0400
commitc8f994eec2a966a7a5fb6a3be517e3ede6a3cafa (patch)
treee2c04a5459150da9f57ad60849351642b6a4fa92 /net/mac80211/ieee80211_i.h
parentafdc7c18e9f2a768865b6caa886e605719a6304e (diff)
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index c783e996bcce..693c1812b7bc 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1315,7 +1315,8 @@ void ieee80211_offchannel_stop_vifs(struct ieee80211_local *local);
1315void ieee80211_offchannel_return(struct ieee80211_local *local); 1315void ieee80211_offchannel_return(struct ieee80211_local *local);
1316void ieee80211_roc_setup(struct ieee80211_local *local); 1316void ieee80211_roc_setup(struct ieee80211_local *local);
1317void ieee80211_start_next_roc(struct ieee80211_local *local); 1317void ieee80211_start_next_roc(struct ieee80211_local *local);
1318void ieee80211_roc_purge(struct ieee80211_sub_if_data *sdata); 1318void ieee80211_roc_purge(struct ieee80211_local *local,
1319 struct ieee80211_sub_if_data *sdata);
1319void ieee80211_roc_notify_destroy(struct ieee80211_roc_work *roc); 1320void ieee80211_roc_notify_destroy(struct ieee80211_roc_work *roc);
1320void ieee80211_sw_roc_work(struct work_struct *work); 1321void ieee80211_sw_roc_work(struct work_struct *work);
1321void ieee80211_handle_roc_started(struct ieee80211_roc_work *roc); 1322void ieee80211_handle_roc_started(struct ieee80211_roc_work *roc);