git: 7999a7f2a867 - main - wpa: Enable WEP by default

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sun, 03 Jul 2022 21:36:47 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=7999a7f2a8679f73574b6704377436025601ee85

commit 7999a7f2a8679f73574b6704377436025601ee85
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-07-03 18:41:00 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-07-03 21:19:38 +0000

    wpa: Enable WEP by default
    
    As of hostap 2.10, WEP is disabled by default. This of course is not a
    bad thing but requires some planning and an announcment to remove WEP
    support by default. A possible src.conf knob or letting users know they
    should use the port instead might different options.
    
    MFC after:      3 days
---
 usr.sbin/wpa/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/wpa/Makefile.inc b/usr.sbin/wpa/Makefile.inc
index 5ce7dee4d2c5..d35fe520b532 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+=-DCONFIG_WEP
 
 .if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
 CFLAGS+=-DCONFIG_HS20 \