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.
This commit is contained in:
parent
33c5deb816
commit
0e8da74e22
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ endif
|
||||||
ifdef CONFIG_WIRELESS_EXTENSION
|
ifdef CONFIG_WIRELESS_EXTENSION
|
||||||
DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
|
DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
|
||||||
DRV_WPA_OBJS += ../src/drivers/driver_wext.o
|
DRV_WPA_OBJS += ../src/drivers/driver_wext.o
|
||||||
|
NEED_RFKILL=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef NEED_NETLINK
|
ifdef NEED_NETLINK
|
||||||
|
|
Loading…
Reference in a new issue