Skip to content

Commit 8b912f1

Browse files
erbr-otcarlescufi
authored andcommitted
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 <[email protected]>
1 parent eb94906 commit 8b912f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2567,6 +2567,8 @@ static void tx_ull_flush(struct ll_conn *conn)
25672567
#else /* CONFIG_BT_LL_SW_LLCP_LEGACY */
25682568
struct node_tx *tx;
25692569

2570+
ull_tx_q_resume_data(&conn->tx_q);
2571+
25702572
tx = tx_ull_dequeue(conn, NULL);
25712573
while (tx) {
25722574
memq_link_t *link;

0 commit comments

Comments
 (0)