[Buildroot] [PATCH 1/1] wpa_supplicant: add config option to build in deprecated WEP support

Brandon Lumbra brandon.lumbra at sense.com
Fri Apr 4 14:55:45 UTC 2025


Signed-off-by: Brandon Lumbra <brandon.lumbra at sense.com>
---
 package/wpa_supplicant/Config.in         | 7 +++++++
 package/wpa_supplicant/wpa_supplicant.mk | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in
index 92953f69f0..ff6dc9fbd0 100644
--- a/package/wpa_supplicant/Config.in
+++ b/package/wpa_supplicant/Config.in
@@ -175,4 +175,11 @@ config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION
 	help
 	  Add introspection support for the DBus control interface.
 
+config BR2_PACKAGE_WPA_SUPPLICANT_WEP
+	bool "WEP security support (deprecated)"
+	help
+	  Enable support for WEP.  WEP support is deprecated due to
+	  security concerns, but some systems may want to support WEP
+	  networks.
+
 endif
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 44cfed495b..c8c07234db 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -197,6 +197,10 @@ define WPA_SUPPLICANT_ENABLE_CTRL_IFACE
 endef
 endif
 
+ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WEP),y)
+WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WEP
+endif
+
 ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO),y)
 WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_BUILD_WPA_CLIENT_SO
 define WPA_SUPPLICANT_INSTALL_WPA_CLIENT_SO
-- 
2.34.1



More information about the buildroot mailing list