summaryrefslogtreecommitdiff
path: root/package/network/services/hostapd/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-06 00:59:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-06 00:59:36 +0000
commita503023ec247345f843683c2b0d7d388a3b118dd (patch)
tree3e628a572ca35f9a5e1b6c0f0263faae45fec9ef /package/network/services/hostapd/Makefile
parent102522e0cd6a46a3d9e8bf799371853159279627 (diff)
downloadmtk-20170518-a503023ec247345f843683c2b0d7d388a3b118dd.zip
mtk-20170518-a503023ec247345f843683c2b0d7d388a3b118dd.tar.gz
mtk-20170518-a503023ec247345f843683c2b0d7d388a3b118dd.tar.bz2
hostapd: enable 802.11w only for the full variants
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45616
Diffstat (limited to 'package/network/services/hostapd/Makefile')
-rw-r--r--package/network/services/hostapd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index b8acee0..3dff7b4 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)