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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-03-12 10:27:42 +05:30 committed by Carles Cufí
commit dec6140685

View file

@ -6036,7 +6036,12 @@ static inline int ctrl_rx(memq_link_t *link, struct node_rx_pdu **rx,
conn_upd_curr = conn; conn_upd_curr = conn;
} }
} else { } 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; break;