mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 2 Mar 2016 13:06:57 +0000 (13:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 2 Mar 2016 13:06:57 +0000 (13:06 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46903

SVN-Revision: 48878

package/network/services/hostapd/Config.in
package/network/services/hostapd/Makefile

index 65125a36dfd83e6e8b7a6cb2335f6508b025ac36..aee2a15fd314479ba4d5e29a8bb4ec5855a78342 100644 (file)
@@ -46,3 +46,7 @@ config DRIVER_WEXT_SUPPORT
 config DRIVER_11N_SUPPORT
        bool
        default n
+
+config DRIVER_11W_SUPPORT
+       bool
+       default n
index c16cb11294b4f61e84df3325eb1e023992d7c600..8e706dc5a3dac630076e32eafbffbee2ba7e2976 100644 (file)
@@ -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)