Skip to content
Commit 523a9dfe authored by Carles Cufi's avatar Carles Cufi
Browse files

Bluetooth: controller: Fix RL index check



In the ll_rl_pdu_adv_update() function, the check to verify if we are
dealing with an item from the resolving list or else with a simple
standard non-privacy enabled device was left over from the previous
iteration, which used negative values. Replace that check with the
proper current one, using the size of the rl array as an indicator of
whether the index is valid.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent e25ee68b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment