hostapd: fix madwifi related linker error (include wext support for non-wpad hostapd...
[openwrt/staging/wigyori.git] / package / hostapd / patches / 540-optional_rfkill.patch
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