Bluetooth: controller: Fix LE BIG Sync Terminate command response
Fix Fix LE BIG Sync Terminate command response which was not returning the BIG handle. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
56fb23fb74
commit
5eb2892e11
1 changed files with 7 additions and 2 deletions
|
@ -1739,11 +1739,16 @@ static void le_big_terminate_sync(struct net_buf *buf, struct net_buf **evt,
|
|||
void **node_rx)
|
||||
{
|
||||
struct bt_hci_cp_le_big_terminate_sync *cmd = (void *)buf->data;
|
||||
struct bt_hci_rp_le_big_terminate_sync *rp;
|
||||
uint8_t big_handle;
|
||||
uint8_t status;
|
||||
|
||||
status = ll_big_sync_terminate(cmd->big_handle, node_rx);
|
||||
big_handle = cmd->big_handle;
|
||||
status = ll_big_sync_terminate(big_handle, node_rx);
|
||||
|
||||
*evt = cmd_complete_status(status);
|
||||
rp = hci_cmd_complete(evt, sizeof(*rp));
|
||||
rp->status = status;
|
||||
rp->big_handle = big_handle;
|
||||
}
|
||||
#endif /* CONFIG_BT_CTLR_SYNC_ISO */
|
||||
#endif /* CONFIG_BT_OBSERVER */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue