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:
Vinayak Kariappa Chettimada 2021-09-20 19:12:11 +05:30 committed by Carles Cufí
parent 9dc6660364
commit c66f4b258f
1 changed files with 4 additions and 4 deletions

View File

@ -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;