Skip to content

Commit 4709934

Browse files
PavelVPVcvinayak
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]> (cherry picked from commit aec6383) Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 234a678 commit 4709934

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
@@ -1242,7 +1242,7 @@ static int hci_driver_open(void)
12421242
}
12431243
#endif
12441244

1245-
err = sdc_enable(receive_signal_raise, sdc_mempool);
1245+
err = sdc_enable(hci_driver_receive_process, sdc_mempool);
12461246
if (err) {
12471247
MULTITHREADING_LOCK_RELEASE();
12481248
return err;

0 commit comments

Comments
 (0)