[Bug 264238] wpa_supplicant 2.10 fails to associate to open secondary VAP when primary VAP is WPA

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Jul 2022 15:44:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238

--- Comment #178 from Cy Schubert <cy@FreeBSD.org> ---
If you're running 13.1-RELEASE, add the following to usr.sbin/wpa/Makefile.inc

diff --git a/usr.sbin/wpa/Makefile.inc b/usr.sbin/wpa/Makefile.inc
index 5ce7dee4d2c5..24098bafb002 100644
--- a/usr.sbin/wpa/Makefile.inc
+++ b/usr.sbin/wpa/Makefile.inc
@@ -66,6 +66,7 @@ CFLAGS+=-DCONFIG_WNM
 CFLAGS+=-DCONFIG_WNM_AP
 CFLAGS+=-DCONFIG_MBO
 CFLAGS+=-DCONFIG_RSN_PREAUTH
+CFLAGS+=-O0

 .if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
 CFLAGS+=-DCONFIG_HS20 \


After removing /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa I can no longer
reproduce this problem. I have just done the same to my everyday "prod"
/usr/obj to verify the result.

-- 
You are receiving this mail because:
You are on the CC list for the bug.