Skip to content

Commit 590b860

Browse files
cvinayakkartben
authored andcommitted
Bluetooth: Controller: Fix Extended connection initiation assertion
Fix assertion on aux context release during extended connection initiation when supporting multiple simultaneous interleaved Extended scanning support. Relates to commit a806592 ("Bluetooth: Controller: Fix to release aux context stored in node rx"). Relates to commit 193ce73 ("Bluetooth: Controller: Fix missing resume of primary channel scanning"). Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent d65f8e3 commit 590b860

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_scan_aux.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1613,9 +1613,14 @@ static void isr_rx_connect_rsp(void *param)
16131613

16141614
ull_rx_put_sched(rx->hdr.link, rx);
16151615

1616-
if (lll->lll_aux) {
1616+
/* Check if LLL scheduled auxiliary PDU reception by scan
1617+
* context or auxiliary PDU reception by aux context
1618+
*/
1619+
if (lll->is_aux_sched) {
16171620
struct node_rx_pdu *node_rx;
16181621

1622+
lll->is_aux_sched = 0U;
1623+
16191624
/* Send message to flush Auxiliary PDU list */
16201625
node_rx = ull_pdu_rx_alloc();
16211626
LL_ASSERT(node_rx);

0 commit comments

Comments
 (0)