hostapd: remove stale WPA_SUPPLICANT_NO_TIMESTAMP_CHECK option
Support to disable the timestamp check for certificates in
wpa_supplicant (Useful for devices without RTC that cannot
reliably get the real date/time) has been accepted in the
upstream hostapd. It's implemented in wpa_supplicant as a
per-AP flag tls_disable_time_checks=[0|1].
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit 99bf9a1ac2)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Jo-Philipp Wich
					
				
			
			
				
	
			
			
			
						parent
						
							40379b0ec6
						
					
				
				
					commit
					bf5dd92cea
				
			@@ -1,26 +1,4 @@
 | 
				
			|||||||
# wpa_supplicant config
 | 
					# wpa_supplicant config
 | 
				
			||||||
config WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
 | 
					 | 
				
			||||||
	bool "Disable timestamp check"
 | 
					 | 
				
			||||||
	depends on PACKAGE_wpa-supplicant || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpa-supplicant-openssl || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpa-supplicant-wolfssl || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpa-supplicant-mesh-openssl || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpa-supplicant-mesh-wolfssl || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpa-supplicant-basic || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpa-supplicant-mini || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpa-supplicant-p2p || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpad || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpad-openssl || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpad-wolfssl || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpad-basic || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpad-mini || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpad-mesh-openssl || \
 | 
					 | 
				
			||||||
		   PACKAGE_wpad-mesh-wolfssl
 | 
					 | 
				
			||||||
	default n
 | 
					 | 
				
			||||||
	help
 | 
					 | 
				
			||||||
	  This disables the timestamp check for certificates in wpa_supplicant
 | 
					 | 
				
			||||||
	  Useful for devices without RTC that cannot reliably get the real date/time
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config WPA_RFKILL_SUPPORT
 | 
					config WPA_RFKILL_SUPPORT
 | 
				
			||||||
	bool "Add rfkill support"
 | 
						bool "Add rfkill support"
 | 
				
			||||||
	depends on PACKAGE_wpa-supplicant || \
 | 
						depends on PACKAGE_wpa-supplicant || \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,6 @@ PKG_CPE_ID:=cpe:/a:w1.fi:hostapd
 | 
				
			|||||||
PKG_BUILD_PARALLEL:=1
 | 
					PKG_BUILD_PARALLEL:=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PKG_CONFIG_DEPENDS:= \
 | 
					PKG_CONFIG_DEPENDS:= \
 | 
				
			||||||
	CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK \
 | 
					 | 
				
			||||||
	CONFIG_PACKAGE_kmod-ath9k \
 | 
						CONFIG_PACKAGE_kmod-ath9k \
 | 
				
			||||||
	CONFIG_PACKAGE_kmod-cfg80211 \
 | 
						CONFIG_PACKAGE_kmod-cfg80211 \
 | 
				
			||||||
	CONFIG_PACKAGE_hostapd \
 | 
						CONFIG_PACKAGE_hostapd \
 | 
				
			||||||
@@ -123,9 +122,6 @@ ifneq ($(LOCAL_TYPE),hostapd)
 | 
				
			|||||||
    endif
 | 
					    endif
 | 
				
			||||||
  endif
 | 
					  endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ifdef CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
 | 
					 | 
				
			||||||
    TARGET_CFLAGS += -DNO_TIMESTAMP_CHECK
 | 
					 | 
				
			||||||
  endif
 | 
					 | 
				
			||||||
  ifdef CONFIG_WPA_RFKILL_SUPPORT
 | 
					  ifdef CONFIG_WPA_RFKILL_SUPPORT
 | 
				
			||||||
    DRIVER_MAKEOPTS += NEED_RFKILL=y
 | 
					    DRIVER_MAKEOPTS += NEED_RFKILL=y
 | 
				
			||||||
  endif
 | 
					  endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user