git: 0fe8af4b2ae8 - stable/13 - wpa: Disable P2P in WPS

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sun, 26 Jun 2022 00:45:22 UTC
The branch stable/13 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=0fe8af4b2ae8b926e400f4b6eb6dbab43a91b21c

commit 0fe8af4b2ae8b926e400f4b6eb6dbab43a91b21c
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-06-23 03:51:27 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-06-26 00:44:47 +0000

    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)
---
 usr.sbin/wpa/src/wps/Makefile | 2 --
 1 file changed, 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