Bluetooth: Controller: Fix minor indentation in scan filter code
Fix minor indentation in the implementation of scan filter policy. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
9dc6660364
commit
c66f4b258f
|
@ -1063,10 +1063,10 @@ static inline bool isr_rx_scan_check(struct lll_scan *lll, uint8_t irkmatch_ok,
|
|||
{
|
||||
#if defined(CONFIG_BT_CTLR_PRIVACY)
|
||||
return (((lll->filter_policy & 0x01) == 0) &&
|
||||
(!devmatch_ok || ull_filter_lll_rl_idx_allowed(irkmatch_ok,
|
||||
rl_idx))) ||
|
||||
(((lll->filter_policy & 0x01) != 0) &&
|
||||
(devmatch_ok || ull_filter_lll_irk_in_fal(rl_idx)));
|
||||
(!devmatch_ok || ull_filter_lll_rl_idx_allowed(irkmatch_ok,
|
||||
rl_idx))) ||
|
||||
(((lll->filter_policy & 0x01) != 0) &&
|
||||
(devmatch_ok || ull_filter_lll_irk_in_fal(rl_idx)));
|
||||
#else
|
||||
return ((lll->filter_policy & 0x01) == 0U) ||
|
||||
devmatch_ok;
|
||||
|
|
Loading…
Reference in New Issue