Skip to content

Commit 0a14cc2

Browse files
committed
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 <[email protected]>
1 parent d79e9e7 commit 0a14cc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/serial/uart_bt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ static int uart_bt_workqueue_init(void)
311311
k_work_queue_start(&nus_work_queue, nus_work_queue_stack,
312312
K_THREAD_STACK_SIZEOF(nus_work_queue_stack),
313313
CONFIG_UART_BT_WORKQUEUE_PRIORITY, NULL);
314+
k_thread_name_set(&nus_work_queue.thread, "uart_bt");
314315

315316
return 0;
316317
}

0 commit comments

Comments
 (0)