[PATCH] dbus: NAN USD, set the freq_list array from dbus to the member of params to take effect

Chin-Ran Lo chin-ran.lo at nxp.com
Wed Oct 30 03:12:54 PDT 2024


>From 222549f598502768ca6d72d2b1213a5c127f2d86 Mon Sep 17 00:00:00 2001
From: "Lo,Chin-Ran" <chin-ran.lo at nxp.com>
Date: Wed, 30 Oct 2024 10:59:57 +0100
Subject: [PATCH] dbus: NAN USD, set the freq_list array from dbus to the member of params to take effect

Set the freq_list array from dbus to the member of params to take effect

Signed-off-by: Lo,Chin-Ran <chin-ran.lo at nxp.com>
---
 wpa_supplicant/dbus/dbus_new_handlers.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index 9c2bb773f..d01bc60be 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -6602,6 +6602,7 @@ DBusMessage * wpas_dbus_handler_nan_publish(DBusMessage *message,
 			for (i = 0; i < entry.array_len; i++)
 				int_array_add_unique(
 					&freq_list, entry.uint16array_value[i]);
+			params.freq_list=freq_list;
 		} else {
 			wpa_printf(MSG_DEBUG,
 				   "dbus: NANPublish - unsupported dict entry '%s'",
-- 
2.34.1




More information about the Hostap mailing list