aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-06-23 03:51:27 +0000
committerCy Schubert <cy@FreeBSD.org>2022-06-26 00:47:11 +0000
commit8784898e9a6d18c1d9eda42c207fda0092f84233 (patch)
tree5ec01c9dd234c5f9ae0e798fd3cf1ee647c64b9f
parent7f8db05c3e87eab16e6f107b6ce94f16e4b1e75a (diff)
downloadsrc-8784898e9a6d18c1d9eda42c207fda0092f84233.tar.gz
src-8784898e9a6d18c1d9eda42c207fda0092f84233.zip
wpa: Disable P2P in WPS
Disable P2P in WPS as it is not supported by FreeBSD. Also, it is not enabled in wpa_supplicant so the WPS P2P code is redundant. PR: 264238 Reported by: adrian (cherry picked from commit 3e8eb5c7f4909209c042403ddee340b2ee7003a5)
-rw-r--r--usr.sbin/wpa/src/wps/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/wpa/src/wps/Makefile b/usr.sbin/wpa/src/wps/Makefile
index 5f5485d69bce..8890c34fb0a3 100644
--- a/usr.sbin/wpa/src/wps/Makefile
+++ b/usr.sbin/wpa/src/wps/Makefile
@@ -27,8 +27,6 @@ SRCS= http_client.c \
wps_upnp_ssdp.c \
wps_upnp_web.c
-CFLAGS+=-DCONFIG_P2P
-
.if ${MK_INET6} != "no"
CFLAGS+= -DCONFIG_IPV6
.endif