hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Nov 2010 17:00:18 +0000 (17:00 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Nov 2010 17:00:18 +0000 (17:00 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23987 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 4fb92c5..b62fb3f 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 c70bcf4..3ec7e23 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