Skip to content

Commit aec6383

Browse files
PavelVPVrugeGerritsen
authored andcommitted
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 <[email protected]>
1 parent 52b6395 commit aec6383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/controller/hci_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ static int hci_driver_open(const struct device *dev, bt_hci_recv_t recv_func)
13491349
}
13501350
#endif
13511351

1352-
err = sdc_enable(receive_signal_raise, sdc_mempool);
1352+
err = sdc_enable(hci_driver_receive_process, sdc_mempool);
13531353
if (err) {
13541354
MULTITHREADING_LOCK_RELEASE();
13551355
return err;

0 commit comments

Comments
 (0)