wpa: Define CONFIG_DEBUG_FILE globally

We defined CONFIG_DEBUG_FILE only in libwpautils, not in wpa_supplicant,
so all it did was enable code that never got called.  Enable it at the
top level so it also applies to wpa_supplicant(8), and the -f option
mentioned in the manual page now actually works.

PR:		281617
MFC after:	1 week
Reviewed by:	cy
Differential Revision:	https://reviews.freebsd.org/D57723
This commit is contained in:
Dag-Erling Smørgrav committed 2026-07-21 07:59:43 +00:00
1 parent ff6574d250
commit 67518c9f56
2 files changed
+1 -2

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ CFLAGS+=-DCONFIG_IEEE80211R
CFLAGS+=-DCONFIG_IEEE80211W
CFLAGS+=-DTLS_DEFAULT_CIPHERS=\"DEFAULT:!EXP:!LOW\"
CFLAGS+=-DCONFIG_DEBUG_SYSLOG
CFLAGS+=-DCONFIG_DEBUG_FILE
CFLAGS+=-DPKCS12_FUNCS
CFLAGS+=-DCONFIG_GAS
CFLAGS+=-DCONFIG_PEERKEY
-2
View File
@@ -22,8 +22,6 @@ SRCS= base64.c \
wpa_debug.c \
wpabuf.c
CFLAGS+=-DCONFIG_DEBUG_FILE
.if ${MK_INET6} != "no"
CFLAGS+= -DCONFIG_IPV6
.endif