diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2012-11-29 18:18:12 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-30 07:39:05 -0500 |
commit | 41e31b8b902397d5d507b275050fcbe8adaf4ff4 (patch) | |
tree | 603a8600f8023b1e5852b2fb8bdb39e890831793 /net/mac80211/main.c | |
parent | 372039031c62886c8c5b57a7b0111446e9caefa8 (diff) |
mac80211: allow userspace registration for probe requests in IBSS
This change allows userspace to register for probe request
frames on an IBSS interface. Userspace then has to handle
them and send replies.
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index c4ed83b74e52..4ece42ca87bb 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -474,7 +474,8 @@ ieee80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = { | |||
474 | .tx = 0xffff, | 474 | .tx = 0xffff, |
475 | .rx = BIT(IEEE80211_STYPE_ACTION >> 4) | | 475 | .rx = BIT(IEEE80211_STYPE_ACTION >> 4) | |
476 | BIT(IEEE80211_STYPE_AUTH >> 4) | | 476 | BIT(IEEE80211_STYPE_AUTH >> 4) | |
477 | BIT(IEEE80211_STYPE_DEAUTH >> 4), | 477 | BIT(IEEE80211_STYPE_DEAUTH >> 4) | |
478 | BIT(IEEE80211_STYPE_PROBE_REQ >> 4), | ||
478 | }, | 479 | }, |
479 | [NL80211_IFTYPE_STATION] = { | 480 | [NL80211_IFTYPE_STATION] = { |
480 | .tx = 0xffff, | 481 | .tx = 0xffff, |