diff mbox series

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

Message ID DU0PR04MB9396FFE92EB464D14EEC35F7A2542@DU0PR04MB9396.eurprd04.prod.outlook.com
State Accepted
Headers show
Series dbus: NAN USD, set the freq_list array from dbus to the member of params to take effect | expand

Commit Message

Chin-Ran Lo Oct. 30, 2024, 10:12 a.m. UTC
From 222549f598502768ca6d72d2b1213a5c127f2d86 Mon Sep 17 00:00:00 2001
From: "Lo,Chin-Ran" <chin-ran.lo@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@nxp.com>
---
 wpa_supplicant/dbus/dbus_new_handlers.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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'",