From: Felix Fietkau Date: Wed, 2 Mar 2016 13:06:57 +0000 (+0000) Subject: mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bafcab0f4c27c1da2019e37073a97d68fc919c92;p=openwrt%2Fsvn-archive%2Fopenwrt.git mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers in hostapd makefile Signed-off-by: Felix Fietkau Backport of r46903 SVN-Revision: 48878 --- 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 c16cb11294..8e706dc5a3 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)