zephyr/tests/bsim/bluetooth
Jonathan Rico 931a089e2c Bluetooth: host: invalidate the RPA when starting legacy adv
This fixes the failure to use a resolvable private address in this
scenario.

1. call `bt_le_oob_get_local`, will generate and mark RPA as valid
2. start connectable adv w/ IDENTITY bit
3. start connectable adv w/o IDENTITY
4. RPA is not set (in `bt_id_set_private_addr`) because RPA
   is still marked as valid

When EXT_ADV is enabled and the controller supports it, a different code
path is taken that doesn't have this issue.

Unconditionally invalidating the RPA when starting advertising works around
this issue.

Fixes #56326

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2023-06-17 07:36:58 -04:00
..
audio tests: Bluetooth: CAP: BSIM: Set initiator as d=0 and acceptor as d=1 2023-06-10 05:16:39 -04:00
host Bluetooth: host: invalidate the RPA when starting legacy adv 2023-06-17 07:36:58 -04:00
ll tests: bsim: Bluetooth: Fix BIS test ISO Tx Buffers in Controller 2023-06-08 06:47:48 -04:00
mesh Bluetooth: Tests: Remove usage of `BT_DEBUG_LOG` 2023-06-07 13:56:55 -04:00
compile.sh