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 <quic_jouni@quicinc.com>
This commit is contained in:
Vinay Gannevaram 2022-07-26 13:36:05 +05:30 committed by Jouni Malinen
parent 58a96187ee
commit e2c3cdf2ca

View 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 */