From fe24cac70b5d6e587b051fe4b945696a9cef5e80 Mon Sep 17 00:00:00 2001 From: Junho Lee Date: Fri, 30 Aug 2024 08:10:17 +0900 Subject: [PATCH] Bluetooth: Mesh: Clarify log to run out of retransmission attempt The logs for retransmission attempts for sending segments and ack retransmission attempts for receiving segments were the same, making it difficult to distinguish between them. This can be solved by adding information to the log of ack retransmission. Signed-off-by: Junho Lee --- subsys/bluetooth/mesh/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/mesh/transport.c b/subsys/bluetooth/mesh/transport.c index f4cbc8b2ae8..b8fb8d35122 100644 --- a/subsys/bluetooth/mesh/transport.c +++ b/subsys/bluetooth/mesh/transport.c @@ -1219,7 +1219,7 @@ static void seg_ack(struct k_work *work) rx->last_ack = k_uptime_get_32(); if (rx->attempts_left == 0) { - LOG_DBG("Ran out of retransmit attempts"); + LOG_DBG("Ran out of ack retransmit attempts"); return; }