hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 13 Nov 2010 17:00:18 +0000 (17:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 13 Nov 2010 17:00:18 +0000 (17:00 +0000)
SVN-Revision: 23987

package/hostapd/patches/310-madwifi_merge.patch
package/hostapd/patches/540-optional_rfkill.patch

index 4fb92c532ce13e44192e1a41f1c21ad7787ff7b2..b62fb3f201bd31919562af8a0a6aae09fd2f3f58 100644 (file)
 -#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
index c70bcf4a52826704492dbb7467bbd57d86b553b3..3ec7e239a6e957ffeeced0204e8387fc6b8e97fe 100644 (file)
  ifdef CONFIG_DRIVER_HERMES
 @@ -170,7 +168,6 @@ 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