diff mbox series

[2/2] Fix nan_usd linker error

Message ID 20240917163340.1345418-2-matthewmwang@google.com
State New
Headers show
Series [1/2] Fix CONFIG_NO_WPA compile/link errors | expand

Commit Message

Matthew Wang Sept. 17, 2024, 4:33 p.m. UTC
nan_usd requires offchannel. Require NEED_OFFCHANNEL=y when
CONFIG_NAN_USD is set.

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

Patch

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