]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/drivers/driver_nl80211.c
SAE: Fix external_auth status in driver-SME STA case with AP SME support
[thirdparty/hostap.git] / src / drivers / driver_nl80211.c
index ca8e0d26b7929e7eb1274ec374c346a47eafd652..96fd0aaddb6e192c7e50d3af392d10f86711d219 100644 (file)
@@ -10899,7 +10899,7 @@ static int nl80211_send_external_auth_status(void *priv,
         * SAE) to hostapd/wpa_supplicant. Do nott send the status to drivers
         * which do not support AP SME or use wpa_supplicant/hostapd SME.
         */
-       if (!bss->drv->device_ap_sme ||
+       if ((is_ap_interface(drv->nlmode) && !bss->drv->device_ap_sme) ||
            (drv->capa.flags & WPA_DRIVER_FLAGS_SME))
                return -1;