diff options
author | Markus Theil <markus.theil@tu-ilmenau.de> | 2020-03-12 12:10:54 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-03-20 16:42:19 +0300 |
commit | 7f3f96cedd79e36b199a8eb4015a077468c37f3a (patch) | |
tree | d4eee0110076523f3741c679503cdf8a48c3db62 /net/mac80211/main.c | |
parent | 5631d96aa396d75b99bf522750a5a8378337aefc (diff) | |
download | linux-7f3f96cedd79e36b199a8eb4015a077468c37f3a.tar.xz |
mac80211: handle no-preauth flag for control port
This patch adds support for disabling pre-auth rx over the nl80211 control
port for mac80211.
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20200312091055.54257-3-markus.theil@tu-ilmenau.de
[fix indentation slightly, squash feature enablement]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 944e86da5c65..ee1b24845b66 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -589,6 +589,8 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len, wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_FILS_STA); wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211); + wiphy_ext_feature_set(wiphy, + NL80211_EXT_FEATURE_CONTROL_PORT_NO_PREAUTH); if (!ops->hw_scan) { wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN | |