zephyr/tests
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
..
application_development
arch
benchmarks tests: latency_measure: reduce the chance of cycles underflow 2024-10-08 18:10:11 -04:00
bluetooth Bluetooth: Host: Fix issue where uninitialized value was used 2024-10-15 04:07:50 -04:00
boards tests: boards: nrf: qdec: modify QDEC tests to match new api 2024-10-10 15:01:20 -04:00
boot boards: frdm_mcxw71: Enable mcuboot 2024-10-14 13:03:39 +02:00
bsim Bluetooth: Audio: Fix initial Broadcast source values 2024-10-14 13:04:31 +02:00
cmake
crypto
drivers tests: drivers: counter_basic_api: add qtmr1_timer0 configuration 2024-10-15 04:37:47 +01:00
integration/kernel
kconfig
kernel tests: kernel: smp: Test cpu affinity with custom ROM offset 2024-10-11 13:17:25 -04:00
lib tests: lib: cpp: cxx: ignore nRF54H20 DK 0.8.0 2024-10-07 18:42:14 +02:00
misc
modules
net net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
posix posix: device_io: use mode argument correctly in open() 2024-10-14 13:01:51 +02:00
robot
subsys net: openthread: make receive sensitivity configurable 2024-10-15 04:06:08 -04:00
unit tests: unit: crc: use `zassert_equal` for cleaner assertions 2024-10-09 09:48:00 +02:00
ztest
test_config.yaml