diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2012-06-29 06:47:02 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-29 07:39:16 -0400 |
commit | 870d37fc22f3e40f9f23e06c581c8538fc16a2f0 (patch) | |
tree | e691076b032ca12568dcd645c46e15ddbfea8708 /net/mac80211/ieee80211_i.h | |
parent | dbbae26afa81320b3315fb4ad755b20f1ff256b4 (diff) |
mac80211: refactor virtual monitor code
Use cfg80211 the new .set_monitor_enabled instead
of tracking it inside mac80211.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 6b7157d20507..b88bdfd248ff 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1485,6 +1485,10 @@ int ieee80211_add_srates_ie(struct ieee80211_sub_if_data *sdata, | |||
1485 | int ieee80211_add_ext_srates_ie(struct ieee80211_sub_if_data *sdata, | 1485 | int ieee80211_add_ext_srates_ie(struct ieee80211_sub_if_data *sdata, |
1486 | struct sk_buff *skb, bool need_basic); | 1486 | struct sk_buff *skb, bool need_basic); |
1487 | 1487 | ||
1488 | /* virtual monitor */ | ||
1489 | int ieee80211_add_virtual_monitor(struct ieee80211_local *local); | ||
1490 | void ieee80211_del_virtual_monitor(struct ieee80211_local *local); | ||
1491 | |||
1488 | /* channel management */ | 1492 | /* channel management */ |
1489 | enum ieee80211_chan_mode { | 1493 | enum ieee80211_chan_mode { |
1490 | CHAN_MODE_UNDEFINED, | 1494 | CHAN_MODE_UNDEFINED, |