mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers...
[openwrt/staging/dedeckeh.git] / package / network / services / hostapd / Makefile
index c39b6b410d71154227a212ee514417302a712ddc..edcfd1ba37a53ca381114657a3447117e4979e23 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)