Skip to content

Commit a992b10

Browse files
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 <[email protected]>
1 parent 0319485 commit a992b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/datastorage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ int kick_clients(struct dawn_mac bssid_mac, uint32_t id) {
571571
else
572572
{
573573
if (have_bandwidth_iwinfo && dawn_metric.bandwidth_threshold != 0)
574-
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);
574+
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);
575575
else
576576
dawnlog_always("Client " MACSTR ": Kicking as no active transmission data for client, and / or limit of %d is OK.\n",
577577
MAC2STR(j->client_addr.u8), dawn_metric.bandwidth_threshold);

0 commit comments

Comments
 (0)