aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-13 14:18:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-13 14:18:13 +0000
commit6691444d9aaa866f4b76baa26e850b6f7cb990a1 (patch)
tree8d8fed2e61d456cbf3b350ecfa563256a37deee2 /package/hostapd
parent263fe7196591eeffc83424232b01e6581ae4b8ea (diff)
downloadupstream-6691444d9aaa866f4b76baa26e850b6f7cb990a1.tar.gz
upstream-6691444d9aaa866f4b76baa26e850b6f7cb990a1.tar.bz2
upstream-6691444d9aaa866f4b76baa26e850b6f7cb990a1.zip
make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25518 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/Config.in5
-rw-r--r--package/hostapd/Makefile4
2 files changed, 8 insertions, 1 deletions
diff --git a/package/hostapd/Config.in b/package/hostapd/Config.in
index a74cbae966..2e8d3ebc76 100644
--- a/package/hostapd/Config.in
+++ b/package/hostapd/Config.in
@@ -25,3 +25,8 @@ config WPA_RFKILL_SUPPORT
bool "Add rfkill support"
depends PACKAGE_wpa-supplicant || PACKAGE_wpa-supplicant-mini || PACKAGE_wpad || PACKAGE_wpad-mini
default n
+
+
+config DRIVER_WEXT_SUPPORT
+ bool
+ default n
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index b02ff27e72..3b4978fc86 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -31,7 +31,8 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_hostapd \
CONFIG_PACKAGE_hostapd-mini \
CONFIG_PACKAGE_kmod-hostap \
- CONFIG_WPA_RFKILL_SUPPORT
+ CONFIG_WPA_RFKILL_SUPPORT \
+ CONFIG_DRIVER_WEXT_SUPPORT
LOCAL_TYPE=$(strip \
$(if $(findstring wpad,$(BUILD_VARIANT)),wpad, \
@@ -66,6 +67,7 @@ DRIVER_MAKEOPTS= \
CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \
CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \
CONFIG_IEEE80211W=$(CONFIG_PACKAGE_kmod-ath9k) \
+ CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \
$(if $(CONFIG_WPA_RFKILL_SUPPORT),NEED_RFKILL=y)
ifneq ($(LOCAL_TYPE),hostapd)