From 7a25fbb2d7458571111110cee33ef7ad17be501b Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Tue, 9 Jul 2024 10:48:59 +0000 Subject: [PATCH] drivers: can: loopback: set TX thread name Set TX thread name to aid in debugging. Signed-off-by: Henrik Brix Andersen --- drivers/can/can_loopback.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/can/can_loopback.c b/drivers/can/can_loopback.c index 58fd4bc9622..118b6e65329 100644 --- a/drivers/can/can_loopback.c +++ b/drivers/can/can_loopback.c @@ -437,6 +437,8 @@ static int can_loopback_init(const struct device *dev) return -1; } + k_thread_name_set(tx_tid, dev->name); + return 0; }