Skip to content

Commit 30b4c29

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: Controller: Minor conditional compile refactor
Minor conditional compile refactor. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent c399155 commit 30b4c29

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -519,15 +519,15 @@ static int is_abort_cb(void *next, void *curr, lll_prepare_cb_t *resume_cb)
519519
}
520520
}
521521

522+
if (0) {
522523
#if defined(CONFIG_BT_CTLR_ADV_EXT)
523-
if (unlikely(lll->duration_reload && !lll->duration_expire)) {
524+
} else if (unlikely(lll->duration_reload && !lll->duration_expire)) {
524525
radio_isr_set(isr_done_cleanup, lll);
525526
} else if (lll->is_aux_sched) {
526527
/* as a continuous scanner, let us not abort aux PDU scan */
527528
return 0;
528-
} else
529529
#endif /* CONFIG_BT_CTLR_ADV_EXT */
530-
{
530+
} else {
531531
radio_isr_set(isr_window, lll);
532532
}
533533

0 commit comments

Comments
 (0)