summaryrefslogtreecommitdiff
path: root/package/mac80211/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/Makefile')
-rw-r--r--package/mac80211/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 30cbc16e09..b83fc1d743 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -23,6 +23,7 @@ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_kmod-mac80211 \
CONFIG_PACKAGE_MAC80211_DEBUGFS \
+ CONFIG_PACKAGE_ATH9K_USE_MINSTREL \
CONFIG_PACKAGE_ATH_DEBUG \
CONFIG_ATH_USER_REGD \
@@ -519,7 +520,8 @@ BUILDFLAGS:= \
$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),-DCONFIG_MAC80211_DEBUGFS -DCONFIG_ATH9K_DEBUGFS) \
$(if $(CONFIG_PACKAGE_ATH_DEBUG),-DCONFIG_ATH_DEBUG) \
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
- $(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1)
+ $(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1) \
+ $(if $(CONFIG_PACKAGE_ATH9K_USE_MINSTREL),-DATH9K_USE_MINSTREL)
MAKE_OPTS:= \
CROSS_COMPILE="$(KERNEL_CROSS)" \