From 56d0b961817fc2276e891390b926f268ee4e3693 Mon Sep 17 00:00:00 2001 From: Pavel Vasilyev Date: Wed, 27 Nov 2024 13:55:23 +0100 Subject: [PATCH] bluetooth: hci_driver: Process recvd msgs directly from SDC callback After replacing K_FOREVER with K_NO_WAIT when requesting a buffer from the host pool, it became possible to call `hci_driver_receive_process` directly from the SDC callback instead of going through `receive_signal_raise` as `hci_driver_receive_process` is now non-blocking. Signed-off-by: Pavel Vasilyev --- subsys/bluetooth/controller/hci_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/hci_driver.c b/subsys/bluetooth/controller/hci_driver.c index 95b9e25f988..211faf4a31b 100644 --- a/subsys/bluetooth/controller/hci_driver.c +++ b/subsys/bluetooth/controller/hci_driver.c @@ -1349,7 +1349,7 @@ static int hci_driver_open(const struct device *dev, bt_hci_recv_t recv_func) } #endif - err = sdc_enable(receive_signal_raise, sdc_mempool); + err = sdc_enable(hci_driver_receive_process, sdc_mempool); if (err) { MULTITHREADING_LOCK_RELEASE(); return err;