From: Hauke Mehrtens Date: Wed, 7 Aug 2019 19:37:25 +0000 (+0200) Subject: hostapd: Allow CONFIG_IEEE80211W for all but mini variant X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1d4df52c215874a5238ddef7bccf0139f7758c24;p=openwrt%2Fstaging%2Fblocktrron.git hostapd: Allow CONFIG_IEEE80211W for all but mini variant This commit will activate CONFIG_IEEE80211W for all, but the mini variant when at least one driver supports it. This will add ieee80211w support for the mesh variant for example. Fixes: FS#2397 Signed-off-by: Hauke Mehrtens --- diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 8895f8085c..d0866f670c 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_PROTO:=git @@ -89,11 +89,7 @@ DRIVER_MAKEOPTS= \ space := space += -ifeq ($(LOCAL_VARIANT),full) - DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_DRIVER_11W_SUPPORT) -endif - -ifeq ($(LOCAL_VARIANT),basic) +ifneq ($(LOCAL_VARIANT),mini) DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_DRIVER_11W_SUPPORT) endif