Skip to content

Commit f275761

Browse files
committed
Bluetooth: Controller: Remove conn context NULL check
Remove conn variable NULL check before calling ull_cp_release_tx() to support conditional compilation of LLCP_TX_CTRL_BUF_QUEUE_ENABLE variant. Relates to commit 1ff458e ("Bluetooth: controller: llcp: fixing tx buffer queue handling"). Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 7d9235d commit f275761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,8 +1570,8 @@ void ull_conn_tx_ack(uint16_t handle, memq_link_t *link, struct node_tx *tx)
15701570
/* Tx Node not re-used, ensure link->next is non-NULL */
15711571
LL_ASSERT(link->next);
15721572

1573+
/* Pass conn as-is to ull_cp_release_tx(), NULL check is done there */
15731574
conn = ll_connected_get(handle);
1574-
LL_ASSERT(conn);
15751575

15761576
ull_cp_release_tx(conn, tx);
15771577

0 commit comments

Comments
 (0)