Bluetooth: controller: llcp: fix issue re. missing release of tx node
On disconnect with refactored LLCP, if data tx is paused, possibly 'waiting' tx nodes would not get released. Signed-off-by: Erik Brockhoff <erbr@oticon.com>
This commit is contained in:
parent
eb949061ce
commit
8b912f1488
1 changed files with 2 additions and 0 deletions
|
@ -2567,6 +2567,8 @@ static void tx_ull_flush(struct ll_conn *conn)
|
||||||
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
|
||||||
struct node_tx *tx;
|
struct node_tx *tx;
|
||||||
|
|
||||||
|
ull_tx_q_resume_data(&conn->tx_q);
|
||||||
|
|
||||||
tx = tx_ull_dequeue(conn, NULL);
|
tx = tx_ull_dequeue(conn, NULL);
|
||||||
while (tx) {
|
while (tx) {
|
||||||
memq_link_t *link;
|
memq_link_t *link;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue