fix mac80211 build for platforms that have led support disabled
[openwrt/svn-archive/archive.git] / package / mac80211 / Makefile
index 5a97065..c59aaa5 100644 (file)
@@ -48,7 +48,7 @@ MAKE_OPTS:=-C "$(LINUX_DIR)" \
        ARCH="$(LINUX_KARCH)" \
        EXTRA_CFLAGS="$(BUILDFLAGS) -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS" \
        CONFIG_MAC80211=m \
-       CONFIG_MAC80211_LEDS=y
+       CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS)
 
 ifneq ($(KERNEL_PATCHVER),2.6.21)
   define Build/Compile