zephyr/subsys/bluetooth
Jonathan Rico dc4d63e97b Bluetooth: host: adv: set the address in bt_le_adv_resume
The address could have changed. The issue linked (and bsim test in previous
commit) shows a scenario where that could happen:

- we start scanning, host will use NRPA
- we start advertising, host will use identity address
- a device connects (as a central)
-> advertising resume fails for some unrelated reason
- another device connects (as a peripheral)
- the central device disconnects, we resume scanning
- the peripheral disconnects, the stack resumes advertising
-> but it mistakenly advertises using the NRPA set by the scanner

Fixes #52059 .

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2022-12-19 09:37:25 +00:00
..
audio Bluetooth: audio: ascs: Handle CIS failed to be established error 2022-12-15 14:31:11 +00:00
common Bluetooth: Update Bluetooth legacy logging Kconfig 2022-11-30 14:37:58 +01:00
controller bluetooth: controller: Reduce user ops status to uint8_t 2022-12-16 11:02:30 +00:00
crypto Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
host Bluetooth: host: adv: set the address in bt_le_adv_resume 2022-12-19 09:37:25 +00:00
mesh Bluetooth: Mesh: Warn log mode incompatibility with friendship 2022-12-09 11:18:18 +01:00
services Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
shell Bluetooth: Shell: Move the name filter last 2022-12-16 11:05:24 +00:00
CMakeLists.txt Bluetooth: crypto: Refactor a few items 2022-11-10 17:54:14 +02:00
Kconfig Bluetooth: crypto: Refactor a few items 2022-11-10 17:54:14 +02:00
Kconfig.adv Bluetooth: Mesh: Extended advertiser as default 2022-11-01 08:52:56 +00:00
Kconfig.iso bluetooth: kconfig: Hide host options if not available 2022-06-17 10:49:51 -05:00