From 8b436c777cd71a9a7bdc79811921e3279adbbb99 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 7 Aug 2019 21:37:25 +0200 Subject: [PATCH] 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 (cherry picked from commit 1d4df52c215874a5238ddef7bccf0139f7758c24) --- package/network/services/hostapd/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.25.1