aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-27 18:20:27 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-04-08 03:17:00 -0400
commit3c3e21e7443bdb948437a6e925fd111e932dc083 (patch)
treef8d2035b81e1aef8c0f26ade67c9756da5109b2d /net/mac80211/ieee80211_i.h
parentc8f994eec2a966a7a5fb6a3be517e3ede6a3cafa (diff)
mac80211: destroy virtual monitor interface across suspend
It has to be removed from the driver, but completely destroying it helps handle unplug of a device during suspend since then the channel context handling etc. doesn't have to happen later when it's removed. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 693c1812b7bc..55fb382a8199 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1336,6 +1336,8 @@ void ieee80211_adjust_monitor_flags(struct ieee80211_sub_if_data *sdata,
1336 const int offset); 1336 const int offset);
1337int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up); 1337int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up);
1338void ieee80211_sdata_stop(struct ieee80211_sub_if_data *sdata); 1338void ieee80211_sdata_stop(struct ieee80211_sub_if_data *sdata);
1339int ieee80211_add_virtual_monitor(struct ieee80211_local *local);
1340void ieee80211_del_virtual_monitor(struct ieee80211_local *local);
1339 1341
1340bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata); 1342bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata);
1341void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata); 1343void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata);