[PATCH 2/2] Fix nan_usd linker error

Matthew Wang matthewmwang at chromium.org
Tue Sep 17 09:33:40 PDT 2024


nan_usd requires offchannel. Require NEED_OFFCHANNEL=y when
CONFIG_NAN_USD is set.

Change-Id: I43f25d300afd3ca2412b99bb53db945533b249ad
Signed-off-by: Matthew Wang <matthewmwang at chromium.org>
---
 wpa_supplicant/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 0214ef93e..4b56c09e6 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -321,6 +321,7 @@ endif
 ifdef CONFIG_NAN_USD
 OBJS += ../src/common/nan_de.o
 OBJS += nan_usd.o
+NEED_OFFCHANNEL=y
 CFLAGS += -DCONFIG_NAN_USD
 endif
 
-- 
2.46.0.662.g92d0881bb0-goog




More information about the Hostap mailing list