commit | 523a9dfe8a8c4df4798753222ab30033bc5d5f0c | [log] [tgz] |
---|---|---|
author | Carles Cufi <carles.cufi@nordicsemi.no> | Mon Aug 21 17:27:53 2017 +0200 |
committer | Carles Cufi <carles.cufi@nordicsemi.no> | Mon Aug 21 18:49:59 2017 +0200 |
tree | 2f4a8580ad0d3eed7748e0f6d506d963fb331d85 | |
parent | e25ee68bbd5589b2d2054206fdb0643bffe47469 [diff] |
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: Carles Cufi <carles.cufi@nordicsemi.no>