Skip to content

Commit 544c5bf

Browse files
ShahinHaque97kartben
authored andcommitted
drivers: bluetooth: hci: add thread name to bt_spi_rx_thread
Add thread name to bt_spi_rx_thread Signed-off-by: Shahin Haque <[email protected]>
1 parent 6dc611a commit 544c5bf

File tree

1 file changed

+1
-0
lines changed
  • drivers/bluetooth/hci

1 file changed

+1
-0
lines changed

drivers/bluetooth/hci/spi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ static int bt_spi_open(const struct device *dev, bt_hci_recv_t recv)
413413
bt_spi_rx_thread, (void *)dev, NULL, NULL,
414414
K_PRIO_COOP(CONFIG_BT_DRIVER_RX_HIGH_PRIO),
415415
0, K_NO_WAIT);
416+
k_thread_name_set(&spi_rx_thread_data, "bt_spi_rx_thread");
416417

417418
/* Device will let us know when it's ready */
418419
k_sem_take(&sem_initialised, K_FOREVER);

0 commit comments

Comments
 (0)