From: Jouni Malinen Date: Fri, 15 Oct 2010 19:11:33 +0000 (+0300) Subject: Fix build with drivers that use driver_wext.c X-Git-Tag: hostap-1-bp~973 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8da74e225fa2f6d0bd5bf40e91a8db06219061;p=thirdparty%2Fhostap.git Fix build with drivers that use driver_wext.c If CONFIG_DRIVER_WEXT=y is not used in .config, but driver_wext.c gets pull in to help another driver wrapper, rfkill code needs to included to fix the build. --- diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak index b1b05cc63..aeb7924d2 100644 --- a/src/drivers/drivers.mak +++ b/src/drivers/drivers.mak @@ -154,6 +154,7 @@ endif ifdef CONFIG_WIRELESS_EXTENSION DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION DRV_WPA_OBJS += ../src/drivers/driver_wext.o +NEED_RFKILL=y endif ifdef NEED_NETLINK