Skip to content

Commit dec6140

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: controller: Fix dev assert in CPR implementation
Replace a development assertion in the implementation of Connection Parameter Request Procedure with an internal comment and handle transaction violation be ignoring the PDU. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 813b241 commit dec6140

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6036,7 +6036,12 @@ static inline int ctrl_rx(memq_link_t *link, struct node_rx_pdu **rx,
60366036
conn_upd_curr = conn;
60376037
}
60386038
} else {
6039-
LL_ASSERT(0);
6039+
/* Ignore duplicate request as peripheral is busy
6040+
* processing the previously initiated connection
6041+
* update request procedure.
6042+
*/
6043+
/* Mark for buffer for release */
6044+
(*rx)->hdr.type = NODE_RX_TYPE_RELEASE;
60406045
}
60416046
break;
60426047

0 commit comments

Comments
 (0)