]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix nan_usd linker error
authorMatthew Wang <matthewmwang@chromium.org>
Tue, 17 Sep 2024 16:33:40 +0000 (16:33 +0000)
committerJouni Malinen <j@w1.fi>
Sun, 22 Dec 2024 16:24:28 +0000 (18:24 +0200)
nan_usd requires offchannel. Require NEED_OFFCHANNEL=y when
CONFIG_NAN_USD is set.

Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
wpa_supplicant/Android.mk
wpa_supplicant/Makefile

index 3aadcb2bb9216d5854c06f4fad6bb24361e3f805..0dd40bc56a757be3506659c312f9f5ee22bec3c4 100644 (file)
@@ -286,6 +286,7 @@ endif
 ifdef CONFIG_NAN_USD
 OBJS += src/common/nan_de.c
 OBJS += nan_usd.c
+NEED_OFFCHANNEL=y
 L_CFLAGS += -DCONFIG_NAN_USD
 endif
 
index 743c8acd683f7028ada9e1b98a091d37fb2b7635..c2d889bc136d52fa7a34915c009df4d117a16875 100644 (file)
@@ -320,6 +320,7 @@ endif
 ifdef CONFIG_NAN_USD
 OBJS += ../src/common/nan_de.o
 OBJS += nan_usd.o
+NEED_OFFCHANNEL=y
 CFLAGS += -DCONFIG_NAN_USD
 endif