From: Vinay Gannevaram Date: Tue, 26 Jul 2022 08:06:05 +0000 (+0530) Subject: nl80211: Register PASN Authentication frames for SME-in-driver X-Git-Tag: hostap_2_11~1740 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c3cdf2ca27f7f417ffb18c1f125ca5cf68b085;p=thirdparty%2Fhostap.git nl80211: Register PASN Authentication frames for SME-in-driver This is needed to allow PASN processing offload from the driver to wpa_supplicant. Signed-off-by: Jouni Malinen --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 3df5dfb0b..85e28bc62 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -2384,8 +2384,7 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss) #ifdef CONFIG_PASN /* register for PASN Authentication frames */ - if ((drv->capa.flags & WPA_DRIVER_FLAGS_SME) && - nl80211_register_frame(bss, bss->nl_mgmt, type, + if (nl80211_register_frame(bss, bss->nl_mgmt, type, (u8 *) "\x07\x00", 2, false)) ret = -1; #endif /* CONFIG_PASN */