hostapd: Allow CONFIG_IEEE80211W for all but mini variant
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 7 Aug 2019 19:37:25 +0000 (21:37 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 16 Aug 2019 22:16:08 +0000 (00:16 +0200)
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 <hauke@hauke-m.de>
package/network/services/hostapd/Makefile

index 8895f8085c19cf493e36e2b0b8c650a5825171c4..d0866f670c0ba0cae8f85ca7de10490426d4736b 100644 (file)
@@ -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