[PATCH] build: bgscan_simple depends on WNM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux