hostapd: Disable driver_nl80211 if mac80211 is not built
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Feb 2008 17:02:02 +0000 (17:02 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 17 Feb 2008 17:02:02 +0000 (17:02 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10481 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostapd/Makefile

index f196828..7dfacc1 100644 (file)
@@ -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
 
This page took 0.025678 seconds and 4 git commands to generate.