build: bgscan_simple depends on WNM
Fix build of wpa_supplicant if bgscan_simple is enabled while
WNM is not, as in the defconfig.
Fixes: ceb7f65dcc
("bgscan: Allow simple bgscan to do BTM queries")
Signed-off-by: Chien Wong <m@xv97.com>
This commit is contained in:
parent
628f286102
commit
a2fd63964c
2 changed files with 8 additions and 0 deletions
|
@ -305,6 +305,10 @@ ifdef CONFIG_MBO
|
||||||
CONFIG_WNM=y
|
CONFIG_WNM=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_BGSCAN_SIMPLE
|
||||||
|
CONFIG_WNM=y
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_WNM
|
ifdef CONFIG_WNM
|
||||||
L_CFLAGS += -DCONFIG_WNM
|
L_CFLAGS += -DCONFIG_WNM
|
||||||
OBJS += wnm_sta.c
|
OBJS += wnm_sta.c
|
||||||
|
|
|
@ -338,6 +338,10 @@ ifdef CONFIG_MBO
|
||||||
CONFIG_WNM=y
|
CONFIG_WNM=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_BGSCAN_SIMPLE
|
||||||
|
CONFIG_WNM=y
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_WNM
|
ifdef CONFIG_WNM
|
||||||
CFLAGS += -DCONFIG_WNM
|
CFLAGS += -DCONFIG_WNM
|
||||||
OBJS += wnm_sta.o
|
OBJS += wnm_sta.o
|
||||||
|
|
Loading…
Reference in a new issue