]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Fix CONFIG_WPS_STRICT build option
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 21 Jul 2010 05:15:06 +0000 (22:15 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 13:07:49 +0000 (06:07 -0700)
This was not supposed to be depending on CONFIG_WPS_NFC.

hostapd/Makefile
wpa_supplicant/Makefile

index a91aeaa585af80454c3dd39cc3342cf1b5cf42e2..6102c10c397115a590bcc0c4c876b639a9921897 100644 (file)
@@ -331,11 +331,6 @@ OBJS += ../src/wps/wps_nfc_pn531.o
 LIBS += ${PN531_PATH}/lib/wpsnfc.dll
 LIBS += ${PN531_PATH}/lib/libnfc_mapping_pn53x.dll
 endif
-
-ifdef CONFIG_WPS_STRICT
-CFLAGS += -DCONFIG_WPS_STRICT
-OBJS += ../src/wps/wps_validate.o
-endif
 endif
 
 ifdef NEED_WPS_OOB
@@ -355,6 +350,11 @@ OBJS += ../src/wps/http_client.o
 OBJS += ../src/wps/http_server.o
 endif
 
+ifdef CONFIG_WPS_STRICT
+CFLAGS += -DCONFIG_WPS_STRICT
+OBJS += ../src/wps/wps_validate.o
+endif
+
 endif
 
 ifdef CONFIG_EAP_IKEV2
index 4bc00e272711dfefdf921a4ae984ee0b4c526d3c..3301e61ebd3caa5ceb439c0fcc5e327a7e39fc53 100644 (file)
@@ -500,11 +500,6 @@ OBJS += ../src/wps/wps_nfc_pn531.o
 LIBS += ${PN531_PATH}/lib/wpsnfc.dll
 LIBS += ${PN531_PATH}/lib/libnfc_mapping_pn53x.dll
 endif
-
-ifdef CONFIG_WPS_STRICT
-CFLAGS += -DCONFIG_WPS_STRICT
-OBJS += ../src/wps/wps_validate.o
-endif
 endif
 
 ifdef NEED_WPS_OOB
@@ -531,6 +526,11 @@ OBJS += ../src/wps/http_client.o
 OBJS += ../src/wps/http_server.o
 endif
 
+ifdef CONFIG_WPS_STRICT
+CFLAGS += -DCONFIG_WPS_STRICT
+OBJS += ../src/wps/wps_validate.o
+endif
+
 endif
 
 ifdef CONFIG_EAP_IKEV2