From 0a14cc21cc09e63c4bee554d72043cf5f4bc6422 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Sat, 17 May 2025 09:30:08 +0100 Subject: [PATCH] serial: uart_bt: set the workqueue thread name Set the bt_uart workqueue name so it does not show up as a mystery thread on the thread list. Signed-off-by: Fabio Baltieri --- drivers/serial/uart_bt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/uart_bt.c b/drivers/serial/uart_bt.c index 5b51d0c6b5a..f3e3398b35a 100644 --- a/drivers/serial/uart_bt.c +++ b/drivers/serial/uart_bt.c @@ -311,6 +311,7 @@ static int uart_bt_workqueue_init(void) k_work_queue_start(&nus_work_queue, nus_work_queue_stack, K_THREAD_STACK_SIZEOF(nus_work_queue_stack), CONFIG_UART_BT_WORKQUEUE_PRIORITY, NULL); + k_thread_name_set(&nus_work_queue.thread, "uart_bt"); return 0; }