From 94ebc9d90bc4148e50069f38b5bb5368112ee137 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 19 Nov 2024 06:24:30 -0800 Subject: [PATCH] station: print client count in scan results --- src/station.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/station.c b/src/station.c index 71dc4c21..1238734f 100644 --- a/src/station.c +++ b/src/station.c @@ -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",