]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Register PASN Authentication frames for SME-in-driver
authorVinay Gannevaram <quic_vganneva@quicinc.com>
Tue, 26 Jul 2022 08:06:05 +0000 (13:36 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 2 Sep 2022 13:18:14 +0000 (16:18 +0300)
This is needed to allow PASN processing offload from the driver to
wpa_supplicant.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/drivers/driver_nl80211.c

index 3df5dfb0b44f316db8c5ce610f656d479effe4d1..85e28bc6273a79222db4a91cb97fed05711caaa7 100644 (file)
@@ -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 */