Set the freq_list array from dbus to the member of params to take effect Signed-off-by: Lo,Chin-Ran <chin-ran.lo@xxxxxxx> --- 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 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap