Skip to content

Commit

Permalink
applications: ipc_radio: Workaround release_rx_buffer spurious error
Browse files Browse the repository at this point in the history
Workaround spurious error of positive return value of the function
ipc_service_release_rx_buffer for icbmsg.

Signed-off-by: Dominik Chat <[email protected]>
  • Loading branch information
dchat-nordic authored and nordicjm committed Feb 19, 2025
1 parent f195846 commit d3d4978
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion applications/ipc_radio/src/bt_hci_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,10 @@ static void queue_thread(void)
}

err = ipc_service_release_rx_buffer(&hci_ept, (void *)block.ptr);
if (err) {
if (err < 0) {
LOG_ERR("Failed to release rx buffer: %d.", err);
} else {
LOG_DBG("Released rx buffer with ret %d.", err);
}

if (buf) {
Expand Down

0 comments on commit d3d4978

Please sign in to comment.