aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-02-17 17:02:02 +0000
committerMichael Büsch <mb@bu3sch.de>2008-02-17 17:02:02 +0000
commit29767435d3ebd1ffdb0ca94fda62b6f4ce2caef0 (patch)
tree79b5b9a30d2fa2c108eb1c07700133af615044a4 /package
parentc203865e38d22dd910f7c052c5b6b4854b5f7fb9 (diff)
downloadupstream-29767435d3ebd1ffdb0ca94fda62b6f4ce2caef0.tar.gz
upstream-29767435d3ebd1ffdb0ca94fda62b6f4ce2caef0.tar.bz2
upstream-29767435d3ebd1ffdb0ca94fda62b6f4ce2caef0.zip
hostapd: Disable driver_nl80211 if mac80211 is not built
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10481 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/hostapd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index f196828c97..7dfacc1fbd 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -78,7 +78,7 @@ define Build/ConfigureTarget
$(PKG_BUILD_DIR)/src \
$(PKG_BUILD_DIR)/hostapd.$(1)/
$(CP) ./files/$(1).config $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/.config
- $(if $(CONFIG_PACKAGE_kmod-mac80211),,$(SED) 's,^CONFIG_DRIVER_DEVICESCAPE,#CONFIG_DRIVER_DEVICESCAPE,g' $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/.config)
+ $(if $(CONFIG_PACKAGE_kmod-mac80211),,$(SED) 's,^CONFIG_DRIVER_NL80211,#CONFIG_DRIVER_NL80211,g' $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/.config)
$(if $(CONFIG_PACKAGE_kmod-madwifi),,$(SED) 's,^CONFIG_DRIVER_MADWIFI,#CONFIG_DRIVER_MADWIFI,g' $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/.config)
endef