Skip to content

Commit ed9bed1

Browse files
jhedbergkartben
authored andcommitted
Bluetooth: Controller: Be more explicit with thread names
The "BT RX pri" and "BT RX" are too easily confused with host-side threads, e.g. the host RX thread is called "BT RX WQ". Add "CTLR" to the Controller side thread names to make it clear that they're managed by the controller. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
1 parent 52f8340 commit ed9bed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/bluetooth/controller/hci/hci_driver.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,14 +1025,14 @@ static int hci_driver_open(const struct device *dev, bt_hci_recv_t recv)
10251025
K_KERNEL_STACK_SIZEOF(prio_recv_thread_stack),
10261026
prio_recv_thread, (void *)dev, NULL, NULL,
10271027
K_PRIO_COOP(CONFIG_BT_DRIVER_RX_HIGH_PRIO), 0, K_NO_WAIT);
1028-
k_thread_name_set(&prio_recv_thread_data, "BT RX pri");
1028+
k_thread_name_set(&prio_recv_thread_data, "BT CTLR RX pri");
10291029
#endif /* CONFIG_BT_CTLR_RX_PRIO_STACK_SIZE */
10301030

10311031
k_thread_create(&recv_thread_data, recv_thread_stack,
10321032
K_KERNEL_STACK_SIZEOF(recv_thread_stack),
10331033
recv_thread, (void *)dev, NULL, NULL,
10341034
K_PRIO_COOP(CONFIG_BT_RX_PRIO), 0, K_NO_WAIT);
1035-
k_thread_name_set(&recv_thread_data, "BT RX");
1035+
k_thread_name_set(&recv_thread_data, "BT CTLR RX");
10361036

10371037
LOG_DBG("Success.");
10381038

0 commit comments

Comments
 (0)