diff options
author | Michael Wu <flamingice@sourmilk.net> | 2008-01-31 13:48:22 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:02 -0500 |
commit | 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a (patch) | |
tree | 92c4756ae29b64aee4a76a043fd46bb02472cfd9 /net/mac80211/cfg.c | |
parent | e4c26add8893e40e6e809b8c1ebc81e37762af2b (diff) |
nl80211: Add monitor interface configuration flags
This allows precise control over what a monitor interface shows.
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 15b8cf94f510..706418d477c2 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -34,7 +34,7 @@ nl80211_type_to_mac80211_type(enum nl80211_iftype type) | |||
34 | } | 34 | } |
35 | 35 | ||
36 | static int ieee80211_add_iface(struct wiphy *wiphy, char *name, | 36 | static int ieee80211_add_iface(struct wiphy *wiphy, char *name, |
37 | enum nl80211_iftype type) | 37 | enum nl80211_iftype type, u32 *flags) |
38 | { | 38 | { |
39 | struct ieee80211_local *local = wiphy_priv(wiphy); | 39 | struct ieee80211_local *local = wiphy_priv(wiphy); |
40 | enum ieee80211_if_types itype; | 40 | enum ieee80211_if_types itype; |
@@ -69,7 +69,7 @@ static int ieee80211_del_iface(struct wiphy *wiphy, int ifindex) | |||
69 | } | 69 | } |
70 | 70 | ||
71 | static int ieee80211_change_iface(struct wiphy *wiphy, int ifindex, | 71 | static int ieee80211_change_iface(struct wiphy *wiphy, int ifindex, |
72 | enum nl80211_iftype type) | 72 | enum nl80211_iftype type, u32 *flags) |
73 | { | 73 | { |
74 | struct ieee80211_local *local = wiphy_priv(wiphy); | 74 | struct ieee80211_local *local = wiphy_priv(wiphy); |
75 | struct net_device *dev; | 75 | struct net_device *dev; |