diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-11-13 17:00:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-11-13 17:00:18 +0000 |
commit | 80be8166aaec7ef22dc27dc464b148e3baf03f2e (patch) | |
tree | bfaa8bd3839eb2ff400ef83346b1b68653a0947c /package/hostapd/patches/310-madwifi_merge.patch | |
parent | 4978599cd4ee99fbf654a20d83142af17b29f71a (diff) | |
download | master-187ad058-80be8166aaec7ef22dc27dc464b148e3baf03f2e.tar.gz master-187ad058-80be8166aaec7ef22dc27dc464b148e3baf03f2e.tar.bz2 master-187ad058-80be8166aaec7ef22dc27dc464b148e3baf03f2e.zip |
hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23987 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/310-madwifi_merge.patch')
-rw-r--r-- | package/hostapd/patches/310-madwifi_merge.patch | 13 |
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 + |