zephyr/subsys/bluetooth
Erik Sandgren 5f59b35b42 Bluetooth: Host: Fix issue where uninitialized value was used
This change makes sure that when a call to `bt_id_set_scan_own_addr` is
sucessful, i.e., the return value is 0, the `own_addr_type` will
be set by the `bt_id_set_scan_own_addr`.

Not setting the `own_addr_type` in a successful call to
`bt_id_set_scan_own_addr` causes, for example,
the `start_le_scan_ext` method in `scan.c` to use an
uninitialized `own_addr_type`.

Eventually this results in an unexpected failure further down in
`start_le_scan_ext`, when sending HCI command to controller with
an uninitialized `own_addr_type`.

Signed-off-by: Erik Sandgren <erik.sandgren@nordicsemi.no>
2024-10-15 04:07:50 -04:00
..
audio Bluetooth: Audio: Fix initial Broadcast source values 2024-10-14 13:04:31 +02:00
common bluetooth: host: set BT_BUF_EVT_RX_SIZE to 255 when CS is enabled 2024-09-25 04:05:14 -04:00
controller Bluetooth: Controller: Fix CIS payload count under skipped events 2024-10-10 20:23:36 -04:00
crypto bluetooth: fix typo in (common, crypto, services, shell) 2024-06-25 10:27:23 -04:00
host Bluetooth: Host: Fix issue where uninitialized value was used 2024-10-15 04:07:50 -04:00
lib
mesh Bluetooth: Mesh: Fix out of bounds write 2024-10-08 18:09:57 -04:00
services Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
CMakeLists.txt Bluetooth: Shell: Restructure shell files 2024-09-24 09:21:04 -04:00
Kconfig bluetooth: host: Update text for BT_CHANNEL_SOUNDING kconfig 2024-10-04 16:34:45 +01:00
Kconfig.adv
Kconfig.iso kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.logging Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00