Bluetooth: controller: split: Add hook for flushing in LLL

Add hook for flushing in LLL to allow clean-up of LLL-specific
resources.

Signed-off-by: Wolfgang Puffitsch <wopu@demant.com>
This commit is contained in:
Wolfgang Puffitsch 2019-10-05 16:22:27 +02:00 committed by Carles Cufí
commit 537f06a532
3 changed files with 8 additions and 0 deletions

View file

@ -1578,6 +1578,8 @@ static void tx_lll_flush(void *param)
struct node_tx *tx;
memq_link_t *link;
lll_conn_flush(lll);
link = memq_dequeue(lll->memq_tx.tail, &lll->memq_tx.head,
(void **)&tx);
while (link) {