wpa_supplicant: add config option to enable support for WPS
PATCH 1/1 wpa_supplicant: add config option to enable support for WPS
Signed-off-by Sven Neumann <[email protected]>
--- package/wpa_supplicant/Config.in | 6 ++++++ package/wpa_supplicant/wpa_supplicant.mk | 7 +++++++ 2 files changed, 13 insertions(+), 0 deletions(-)
package/wpa_supplicant/Config.in +6 -0
@@ -31,3 +31,9 @@ config BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT access point. This can be used for open and WPA2-Personal networks (optionally, with WPS); this links in parts of hostapd functionality into wpa_supplicant. + +config BR2_PACKAGE_WPA_SUPPLICANT_WPS + bool "Enable support for WPS" + depends on BR2_PACKAGE_WPA_SUPPLICANT + help + Enable support for Wi-Fi Protected Setup (WPS)
package/wpa_supplicant/wpa_supplicant.mk +7 -0
@@ -35,6 +35,12 @@ define WPA_SUPPLICANT_AP_CONFIG endef endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPS),y) +define WPA_SUPPLICANT_WPS_CONFIG + echo "CONFIG_WPS=y" >>$(WPA_SUPPLICANT_CONFIG) +endef +endif + define WPA_SUPPLICANT_CRYPTO_CONFIG echo "CONFIG_CRYPTO=internal" >>$(WPA_SUPPLICANT_CONFIG) echo "CONFIG_INTERNAL_LIBTOMMATH=y" >>$(WPA_SUPPLICANT_CONFIG)
@@ -77,6 +83,7 @@ define WPA_SUPPLICANT_CONFIGURE_CMDS $(WPA_SUPPLICANT_CRYPTO_CONFIG) $(WPA_SUPPLICANT_TLS_CONFIG) $(WPA_SUPPLICANT_EAP_CONFIG) + $(WPA_SUPPLICANT_WPS_CONFIG) $(WPA_SUPPLICANT_LIBNL_CONFIG) $(WPA_SUPPLICANT_DBUS_CONFIG) $(WPA_SUPPLICANT_AP_CONFIG)
Signature · 1 line
1.7.5.4
PATCH 1/1 wpa_supplicant: add config option to enable support for WPS
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Sven" == Sven Neumann <[email protected]> writes:
Sven> Signed-off-by: Sven Neumann <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard