[PATCH] build: bgscan_simple depends on WNM
Koen Vandeputte
koen.vandeputte at citymesh.com
Wed Jan 10 07:57:00 PST 2024
On Fri, Jan 5, 2024 at 10:54 AM Chien Wong <m at xv97.com> wrote:
>
> From b3fb0044324ff24f1901610810a7e724cb7a7d16 Mon Sep 17 00:00:00 2001
> From: Chien Wong <m at xv97.com>
> 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 at xv97.com>
> ---
> 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
>
Fixes my build issue within OpenWRT after updating hostapd over there.
Thanks!
Tested-by: Koen Vandeputte <koen.vandeputte at citymesh.com>
>
>
> _______________________________________________
> Hostap mailing list
> Hostap at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/hostap
More information about the Hostap
mailing list