Bluetooth: controller: Fix LL_CIS_TERMINATE RX node leak
Reusing NODE_RX_TYPE_TERMINATE for CIS requires special deallocation handling to prevent memory leak. Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
parent
bfb3ec5253
commit
613283548c
1 changed files with 3 additions and 0 deletions
|
@ -1650,6 +1650,9 @@ void ll_rx_mem_release(void **node_rx)
|
|||
conn->lll.link_tx_free = link;
|
||||
|
||||
ll_conn_release(conn);
|
||||
} else if (IS_CIS_HANDLE(rx_free->handle)) {
|
||||
ll_rx_link_quota_inc();
|
||||
ll_rx_release(rx_free);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue