aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/310-madwifi_merge.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-13 17:00:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-11-13 17:00:18 +0000
commit336c7f084d40db9f7014e2163f6d4de7a07bef11 (patch)
tree9b0b689c9fbab33db4fca825c669798385e82f20 /package/hostapd/patches/310-madwifi_merge.patch
parentfaf2d6e4d3d7aa79f424c65485bb3086beaaf411 (diff)
downloadupstream-336c7f084d40db9f7014e2163f6d4de7a07bef11.tar.gz
upstream-336c7f084d40db9f7014e2163f6d4de7a07bef11.tar.bz2
upstream-336c7f084d40db9f7014e2163f6d4de7a07bef11.zip
hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd builds)
SVN-Revision: 23987
Diffstat (limited to 'package/hostapd/patches/310-madwifi_merge.patch')
-rw-r--r--package/hostapd/patches/310-madwifi_merge.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/hostapd/patches/310-madwifi_merge.patch b/package/hostapd/patches/310-madwifi_merge.patch
index 4fb92c532c..b62fb3f201 100644
--- a/package/hostapd/patches/310-madwifi_merge.patch
+++ b/package/hostapd/patches/310-madwifi_merge.patch
@@ -771,3 +771,16 @@
-#endif /* HOSTAPD */
+#endif
};
+--- a/src/drivers/drivers.mak
++++ b/src/drivers/drivers.mak
+@@ -168,8 +168,8 @@ DRV_WPA_OBJS += ../src/drivers/driver_ro
+ endif
+
+ ifdef CONFIG_WIRELESS_EXTENSION
+-DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
+-DRV_WPA_OBJS += ../src/drivers/driver_wext.o
++DRV_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
++DRV_OBJS += ../src/drivers/driver_wext.o
+ NEED_RFKILL=y
+ endif
+