diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-03-27 17:49:19 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-08 03:17:00 -0400 |
commit | c8f994eec2a966a7a5fb6a3be517e3ede6a3cafa (patch) | |
tree | e2c04a5459150da9f57ad60849351642b6a4fa92 /net/mac80211/ieee80211_i.h | |
parent | afdc7c18e9f2a768865b6caa886e605719a6304e (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.h | 3 |
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); | |||
1315 | void ieee80211_offchannel_return(struct ieee80211_local *local); | 1315 | void ieee80211_offchannel_return(struct ieee80211_local *local); |
1316 | void ieee80211_roc_setup(struct ieee80211_local *local); | 1316 | void ieee80211_roc_setup(struct ieee80211_local *local); |
1317 | void ieee80211_start_next_roc(struct ieee80211_local *local); | 1317 | void ieee80211_start_next_roc(struct ieee80211_local *local); |
1318 | void ieee80211_roc_purge(struct ieee80211_sub_if_data *sdata); | 1318 | void ieee80211_roc_purge(struct ieee80211_local *local, |
1319 | struct ieee80211_sub_if_data *sdata); | ||
1319 | void ieee80211_roc_notify_destroy(struct ieee80211_roc_work *roc); | 1320 | void ieee80211_roc_notify_destroy(struct ieee80211_roc_work *roc); |
1320 | void ieee80211_sw_roc_work(struct work_struct *work); | 1321 | void ieee80211_sw_roc_work(struct work_struct *work); |
1321 | void ieee80211_handle_roc_started(struct ieee80211_roc_work *roc); | 1322 | void ieee80211_handle_roc_started(struct ieee80211_roc_work *roc); |