From dec6140685b49e5478147962b36abd18b60f574c Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Fri, 12 Mar 2021 10:27:42 +0530 Subject: [PATCH] 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 --- subsys/bluetooth/controller/ll_sw/ull_conn.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/ll_sw/ull_conn.c b/subsys/bluetooth/controller/ll_sw/ull_conn.c index ff904ef53ce..28af2c53d48 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_conn.c +++ b/subsys/bluetooth/controller/ll_sw/ull_conn.c @@ -6036,7 +6036,12 @@ static inline int ctrl_rx(memq_link_t *link, struct node_rx_pdu **rx, conn_upd_curr = conn; } } else { - LL_ASSERT(0); + /* Ignore duplicate request as peripheral is busy + * processing the previously initiated connection + * update request procedure. + */ + /* Mark for buffer for release */ + (*rx)->hdr.type = NODE_RX_TYPE_RELEASE; } break;