drivers: bluetooth: hci: add thread name to bt_spi_rx_thread

Add thread name to bt_spi_rx_thread

Signed-off-by: Shahin Haque <ShahinHaque97@outlook.com>
This commit is contained in:
Shahin Haque 2024-12-10 21:07:24 +00:00 committed by Benjamin Cabé
commit 544c5bf95c

View file

@ -413,6 +413,7 @@ static int bt_spi_open(const struct device *dev, bt_hci_recv_t recv)
bt_spi_rx_thread, (void *)dev, NULL, NULL,
K_PRIO_COOP(CONFIG_BT_DRIVER_RX_HIGH_PRIO),
0, K_NO_WAIT);
k_thread_name_set(&spi_rx_thread_data, "bt_spi_rx_thread");
/* Device will let us know when it's ready */
k_sem_take(&sem_initialised, K_FOREVER);