summaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/wpa_supplicant.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/wpa_supplicant/wpa_supplicant.mk')
-rw-r--r--package/wpa_supplicant/wpa_supplicant.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index f722b818d..0a672eee2 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -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)