]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
build: bgscan_simple depends on WNM
authorChien Wong <m@xv97.com>
Fri, 5 Jan 2024 09:50:58 +0000 (17:50 +0800)
committerJouni Malinen <j@w1.fi>
Sat, 13 Jan 2024 21:47:20 +0000 (23:47 +0200)
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@xv97.com>
wpa_supplicant/Android.mk
wpa_supplicant/Makefile

index 809973a21762a721bd21ca454537dcb7eafa6b11..287be70cb215441f5a402e5f4b69193a51d92100 100644 (file)
@@ -305,6 +305,10 @@ ifdef CONFIG_MBO
 CONFIG_WNM=y
 endif
 
+ifdef CONFIG_BGSCAN_SIMPLE
+CONFIG_WNM=y
+endif
+
 ifdef CONFIG_WNM
 L_CFLAGS += -DCONFIG_WNM
 OBJS += wnm_sta.c
index eccfd68c54837b5cd7d6e20ac9d1a0d24af49e52..ff4237032a64453a684a42bd290f97c08728f1b8 100644 (file)
@@ -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