mirror of https://github.com/hak5/openwrt-owl.git
hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd builds)
SVN-Revision: 23987owl
parent
faf2d6e4d3
commit
336c7f084d
|
@ -771,3 +771,16 @@
|
||||||
-#endif /* HOSTAPD */
|
-#endif /* HOSTAPD */
|
||||||
+#endif
|
+#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
|
||||||
|
|
||||||
|
|
|
@ -243,8 +243,8 @@
|
||||||
ifdef CONFIG_DRIVER_HERMES
|
ifdef CONFIG_DRIVER_HERMES
|
||||||
@@ -170,7 +168,6 @@ endif
|
@@ -170,7 +168,6 @@ endif
|
||||||
ifdef CONFIG_WIRELESS_EXTENSION
|
ifdef CONFIG_WIRELESS_EXTENSION
|
||||||
DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
|
DRV_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
|
||||||
DRV_WPA_OBJS += ../src/drivers/driver_wext.o
|
DRV_OBJS += ../src/drivers/driver_wext.o
|
||||||
-NEED_RFKILL=y
|
-NEED_RFKILL=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue