diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index e385d762e6..fd15e95be1 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -183,4 +183,11 @@ config BR2_PACKAGE_WPA_SUPPLICANT_SMARTCARD Enable the smart card support. Required for OpenSSL engines to work using PKCS11 and 802.1x +config BR2_PACKAGE_WPA_SUPPLICANT_WEP + bool "Enable WEP 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 9de536b943..fe4bc34d55 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -200,6 +200,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