From d30ccd40b8217a6099e5a55b2d2dbe5af1156386 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 14 Sep 2015 06:51:10 +0000 Subject: mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers in hostapd makefile Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46903 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/services/hostapd/Config.in | 4 ++++ package/network/services/hostapd/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'package/network/services/hostapd') diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in index 65125a36df..aee2a15fd3 100644 --- a/package/network/services/hostapd/Config.in +++ b/package/network/services/hostapd/Config.in @@ -46,3 +46,7 @@ config DRIVER_WEXT_SUPPORT config DRIVER_11N_SUPPORT bool default n + +config DRIVER_11W_SUPPORT + bool + default n diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index c39b6b410d..edcfd1ba37 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -71,7 +71,7 @@ DRIVER_MAKEOPTS= \ CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \ ifeq ($(LOCAL_VARIANT),full) - DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_PACKAGE_kmod-ath9k) + DRIVER_MAKEOPTS += CONFIG_IEEE80211W=$(CONFIG_DRIVER_11W_SUPPORT) endif ifneq ($(LOCAL_TYPE),hostapd) -- cgit v1.2.3