summaryrefslogtreecommitdiff
path: root/package/hostapd
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-17 20:21:28 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-17 20:21:28 +0000
commitab31e75d1bc662e62bfea938e4048a395053f51a (patch)
tree8a6e590bd10b3f809bd3c0632fc0f892ebbb611e /package/hostapd
parentcf9aad98a9207b7c6d8d199e77b39fa5a0ddc249 (diff)
hostapd: add a separate config symbol for 802.11n driver support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26212 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/Config.in4
-rw-r--r--package/hostapd/Makefile10
2 files changed, 7 insertions, 7 deletions
diff --git a/package/hostapd/Config.in b/package/hostapd/Config.in
index 2e8d3ebc76..a88f977c19 100644
--- a/package/hostapd/Config.in
+++ b/package/hostapd/Config.in
@@ -30,3 +30,7 @@ config WPA_RFKILL_SUPPORT
config DRIVER_WEXT_SUPPORT
bool
default n
+
+config DRIVER_11N_SUPPORT
+ bool
+ default n
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 83622b41ba..6fcd998037 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -25,14 +25,14 @@ PKG_BUILD_DEPENDS:= \
PKG_CONFIG_DEPENDS:= \
CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK \
CONFIG_PACKAGE_kmod-ath9k \
- CONFIG_PACKAGE_kmod-rt2800-lib \
CONFIG_PACKAGE_kmod-mac80211 \
CONFIG_PACKAGE_kmod-madwifi \
CONFIG_PACKAGE_hostapd \
CONFIG_PACKAGE_hostapd-mini \
CONFIG_PACKAGE_kmod-hostap \
CONFIG_WPA_RFKILL_SUPPORT \
- CONFIG_DRIVER_WEXT_SUPPORT
+ CONFIG_DRIVER_WEXT_SUPPORT \
+ CONFIG_DRIVER_11N_SUPPORT
LOCAL_TYPE=$(strip \
$(if $(findstring wpad,$(BUILD_VARIANT)),wpad, \
@@ -53,11 +53,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI
include $(INCLUDE_DIR)/package.mk
-ifneq ($(CONFIG_PACKAGE_kmod-rt2800-lib),)
- HOSTAPD_IEEE80211N:=y
-endif
-
-ifneq ($(CONFIG_PACKAGE_kmod-ath9k),)
+ifneq ($(CONFIG_DRIVER_11N_SUPPORT),)
HOSTAPD_IEEE80211N:=y
endif