aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-12-11 18:40:04 +0100
committerJo-Philipp Wich <jo@mein.io>2019-09-04 13:17:05 +0200
commitbf5dd92cea9223eeabddb4f983798ebca3710f04 (patch)
treedf0994c3637fbc0c45cf36e4f1e6676c6766d21b /package
parent40379b0ec64d8ff17b4d34f261224fb72ceac9db (diff)
downloadupstream-bf5dd92cea9223eeabddb4f983798ebca3710f04.tar.gz
upstream-bf5dd92cea9223eeabddb4f983798ebca3710f04.tar.bz2
upstream-bf5dd92cea9223eeabddb4f983798ebca3710f04.zip
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 99bf9a1ac2b754e708ec845059689b293d1abab0)
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/Config.in22
-rw-r--r--package/network/services/hostapd/Makefile4
2 files changed, 0 insertions, 26 deletions
diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in
index 578fba839c..1966067219 100644
--- a/package/network/services/hostapd/Config.in
+++ b/package/network/services/hostapd/Config.in
@@ -1,26 +1,4 @@
# 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
bool "Add rfkill support"
depends on PACKAGE_wpa-supplicant || \
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 235f178bc9..e389efccb2 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -22,7 +22,6 @@ PKG_CPE_ID:=cpe:/a:w1.fi:hostapd
PKG_BUILD_PARALLEL:=1
PKG_CONFIG_DEPENDS:= \
- CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK \
CONFIG_PACKAGE_kmod-ath9k \
CONFIG_PACKAGE_kmod-cfg80211 \
CONFIG_PACKAGE_hostapd \
@@ -123,9 +122,6 @@ ifneq ($(LOCAL_TYPE),hostapd)
endif
endif
- ifdef CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
- TARGET_CFLAGS += -DNO_TIMESTAMP_CHECK
- endif
ifdef CONFIG_WPA_RFKILL_SUPPORT
DRIVER_MAKEOPTS += NEED_RFKILL=y
endif