3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 18:49:43 +01:00

station: add Frequency to diagnostics dictionary

This commit is contained in:
James Prestwood 2021-02-03 09:20:44 -08:00 committed by Denis Kenzior
parent 3ce1e053f0
commit 1c80672983

View File

@ -3557,6 +3557,8 @@ static void station_get_diagnostic_cb(
dbus_append_dict_basic(builder, "ConnectedBss", 's', dbus_append_dict_basic(builder, "ConnectedBss", 's',
util_address_to_string(info->addr)); util_address_to_string(info->addr));
dbus_append_dict_basic(builder, "Frequency", 'u',
&station->connected_bss->frequency);
diagnostic_info_to_dict(info, builder); diagnostic_info_to_dict(info, builder);