WPS: Fix CONFIG_WPS_STRICT build option
This was not supposed to be depending on CONFIG_WPS_NFC.
This commit is contained in:
		
							parent
							
								
									5fabd9fefb
								
							
						
					
					
						commit
						cae67937ca
					
				
					 2 changed files with 10 additions and 10 deletions
				
			
		|  | @ -331,11 +331,6 @@ OBJS += ../src/wps/wps_nfc_pn531.o | ||||||
| LIBS += ${PN531_PATH}/lib/wpsnfc.dll | LIBS += ${PN531_PATH}/lib/wpsnfc.dll | ||||||
| LIBS += ${PN531_PATH}/lib/libnfc_mapping_pn53x.dll | LIBS += ${PN531_PATH}/lib/libnfc_mapping_pn53x.dll | ||||||
| endif | endif | ||||||
| 
 |  | ||||||
| ifdef CONFIG_WPS_STRICT |  | ||||||
| CFLAGS += -DCONFIG_WPS_STRICT |  | ||||||
| OBJS += ../src/wps/wps_validate.o |  | ||||||
| endif |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifdef NEED_WPS_OOB | ifdef NEED_WPS_OOB | ||||||
|  | @ -355,6 +350,11 @@ OBJS += ../src/wps/http_client.o | ||||||
| OBJS += ../src/wps/http_server.o | OBJS += ../src/wps/http_server.o | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
|  | ifdef CONFIG_WPS_STRICT | ||||||
|  | CFLAGS += -DCONFIG_WPS_STRICT | ||||||
|  | OBJS += ../src/wps/wps_validate.o | ||||||
|  | endif | ||||||
|  | 
 | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifdef CONFIG_EAP_IKEV2 | ifdef CONFIG_EAP_IKEV2 | ||||||
|  |  | ||||||
|  | @ -500,11 +500,6 @@ OBJS += ../src/wps/wps_nfc_pn531.o | ||||||
| LIBS += ${PN531_PATH}/lib/wpsnfc.dll | LIBS += ${PN531_PATH}/lib/wpsnfc.dll | ||||||
| LIBS += ${PN531_PATH}/lib/libnfc_mapping_pn53x.dll | LIBS += ${PN531_PATH}/lib/libnfc_mapping_pn53x.dll | ||||||
| endif | endif | ||||||
| 
 |  | ||||||
| ifdef CONFIG_WPS_STRICT |  | ||||||
| CFLAGS += -DCONFIG_WPS_STRICT |  | ||||||
| OBJS += ../src/wps/wps_validate.o |  | ||||||
| endif |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifdef NEED_WPS_OOB | ifdef NEED_WPS_OOB | ||||||
|  | @ -531,6 +526,11 @@ OBJS += ../src/wps/http_client.o | ||||||
| OBJS += ../src/wps/http_server.o | OBJS += ../src/wps/http_server.o | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
|  | ifdef CONFIG_WPS_STRICT | ||||||
|  | CFLAGS += -DCONFIG_WPS_STRICT | ||||||
|  | OBJS += ../src/wps/wps_validate.o | ||||||
|  | endif | ||||||
|  | 
 | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifdef CONFIG_EAP_IKEV2 | ifdef CONFIG_EAP_IKEV2 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jouni Malinen
						Jouni Malinen