From b3fb0044324ff24f1901610810a7e724cb7a7d16 Mon Sep 17 00:00:00 2001 From: Chien Wong <m@xxxxxxxx> Date: Fri, 5 Jan 2024 17:43:43 +0800 Subject: [PATCH] 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: ceb7f65dcc94 ("bgscan: Allow simple bgscan to do BTM queries") Signed-off-by: Chien Wong <m@xxxxxxxx> --- wpa_supplicant/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 46e20f44a..45d08d7dc 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -338,6 +338,10 @@ ifdef CONFIG_MBO CONFIG_WNM=y endif +ifdef CONFIG_BGSCAN_SIMPLE +CONFIG_WNM=y +endif + ifdef CONFIG_WNM CFLAGS += -DCONFIG_WNM OBJS += wnm_sta.o -- 2.43.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap