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:
parent
813b24157b
commit
dec6140685
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue