Skip to content

Commit 65d69ec

Browse files
cvinayakkartben
authored andcommitted
Bluetooth: Controller: Fix active mode extended scanning assert
Fix active mode extended scanning assert raised when calling radio_tmr_start_us() due to stale radio_tmr_end_get() value. Active mode extended scanning did not drop reception of ADV_EXT_IND PDU when setup to receive ADV_SCAN_RSP PDUs. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent a9c59d6 commit 65d69ec

File tree

1 file changed

+4
-3
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/lll

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,9 +1381,10 @@ static inline int isr_rx_pdu(struct lll_scan *lll, struct pdu_adv *pdu_adv_rx,
13811381
rl_idx, &dir_report))) ||
13821382
#if defined(CONFIG_BT_CTLR_ADV_EXT)
13831383
((pdu_adv_rx->type == PDU_ADV_TYPE_EXT_IND) &&
1384-
lll->phy && lll_scan_ext_tgta_check(lll, true, false,
1385-
pdu_adv_rx, rl_idx,
1386-
&dir_report)) ||
1384+
lll->phy &&
1385+
!lll->state &&
1386+
lll_scan_ext_tgta_check(lll, true, false, pdu_adv_rx, rl_idx,
1387+
&dir_report)) ||
13871388
#endif /* CONFIG_BT_CTLR_ADV_EXT */
13881389
((pdu_adv_rx->type == PDU_ADV_TYPE_SCAN_RSP) &&
13891390
(pdu_adv_rx->len >= offsetof(struct pdu_adv_scan_rsp, data)) &&

0 commit comments

Comments
 (0)