From b045945a42732c4c7112cca6a87171bca2e3bdd5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 6 May 2015 00:59:36 +0000 Subject: [PATCH] hostapd: enable 802.11w only for the full variants Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45616 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/services/hostapd/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index b8acee0632..3dff7b4852 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -68,9 +68,12 @@ DRIVER_MAKEOPTS= \ CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \ CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \ CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \ - CONFIG_IEEE80211W=$(CONFIG_PACKAGE_kmod-ath9k) \ CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \ +ifeq ($(LOCAL_VARIANT),full) + CONFIG_IEEE80211W=$(CONFIG_PACKAGE_kmod-ath9k) +endif + ifneq ($(LOCAL_TYPE),hostapd) ifdef CONFIG_WPA_SUPPLICANT_OPENSSL ifeq ($(LOCAL_VARIANT),full)