Message ID | 20200312091055.54257-4-markus.theil@tu-ilmenau.de (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Johannes Berg |
Headers | show |
Series | nl80211/mac80211: add option to disable pre-auth over control port | expand |
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 |
This patch announces the capability to disable pre-auth over nl80211 control port for all mac80211-based device drivers. Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de> --- net/mac80211/main.c | 2 ++ 1 file changed, 2 insertions(+)