Bluetooth: controller: Connection termination race condition

Add checks to abort connection radio event preparation and
start, if the connection terminates with a race condition
with new radio event being prepared or being in prepare
pipeline.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-09-29 15:14:08 +05:30 committed by Ioannis Glaropoulos
commit b6fb074d6e
5 changed files with 48 additions and 4 deletions

View file

@ -815,8 +815,6 @@ int ull_conn_rx(memq_link_t *link, struct node_rx_pdu **rx)
int ull_conn_llcp(struct ll_conn *conn, uint32_t ticks_at_expire, uint16_t lazy)
{
LL_ASSERT(conn->lll.handle != 0xFFFF);
/* Check if no other procedure with instant is requested and not in
* Encryption setup.
*/