3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-23 07:29:28 +01:00

station: print client count in scan results

This commit is contained in:
James Prestwood 2024-11-19 06:24:30 -08:00 committed by Denis Kenzior
parent b0759ebbb2
commit 94ebc9d90b

View File

@ -425,7 +425,8 @@ static void station_print_scan_bss(const struct scan_bss *bss)
ptr += sprintf(ptr, ", snr: %d", bss->snr);
if (bss->have_utilization)
ptr += sprintf(ptr, ", load: %u/255", bss->utilization);
ptr += sprintf(ptr, ", load: %u/255, clients: %u",
bss->utilization, bss->sta_count);
l_debug("Processing BSS '%s' with SSID: %s, freq: %u, rank: %u, "
"strength: %i, data_rate: %u.%u%s",