From 21c6530ba3f92eca1adf93930f25f6ac0667da43 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Mon, 3 Mar 2025 19:54:41 +0100 Subject: [PATCH] datastorage: fix debug message regarding client kick condition The debug statement mistakenly refers to being "below limit". The client is kicked unless activity exceeds the bandwidth_threshold. Signed-off-by: Nick Hainke --- src/storage/datastorage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/datastorage.c b/src/storage/datastorage.c index 7e6da46..d254246 100644 --- a/src/storage/datastorage.c +++ b/src/storage/datastorage.c @@ -571,7 +571,7 @@ int kick_clients(struct dawn_mac bssid_mac, uint32_t id) { else { if (have_bandwidth_iwinfo && dawn_metric.bandwidth_threshold != 0) - dawnlog_always("Client " MACSTR ": Kicking due to low active data transfer: RX rate %f below %d limit\n", MAC2STR(j->client_addr.u8), rx_rate, dawn_metric.bandwidth_threshold); + dawnlog_always("Client " MACSTR ": Kicking due to low active data transfer: RX rate %f is at or below the %d limit\n", MAC2STR(j->client_addr.u8), rx_rate, dawn_metric.bandwidth_threshold); else dawnlog_always("Client " MACSTR ": Kicking as no active transmission data for client, and / or limit of %d is OK.\n", MAC2STR(j->client_addr.u8), dawn_metric.bandwidth_threshold);