zephyr/tests/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
..
addr tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
adv hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
at lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
audio Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bluetooth tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
bt_crypto tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
bt_crypto_ccm tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
common/testlib Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
controller Bluetooth: controller: fixing issue re. assert on overlapping conn upd proc 2024-10-04 10:46:06 +01:00
df everywhere: replace double words 2024-06-25 06:05:35 -04:00
gatt tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
hci Bluetooth: Conditionally print out HCI error codes as strings 2024-07-30 18:25:56 +01:00
hci_codecs_info tests: bluetooth: fix missing net_buf_ref(rsp) 2024-06-24 14:26:22 +02:00
hci_prop_evt tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
hci_uart_async tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
host Bluetooth: Host: Fix issue where uninitialized value was used 2024-10-15 04:07:50 -04:00
host_long_adv_recv tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
init Bluetooth: drivers: h5: Convert to new HCI driver API 2024-06-11 19:42:49 -04:00
l2cap tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00
mesh Bluetooth: Mesh: Fix out of bounds write 2024-10-08 18:09:57 -04:00
mesh_shell tests: bluetooth: mesh: Removed native_posix and renamed sim_ids 2024-09-17 05:22:32 -04:00
qualification Bluetooth: Tester: Mesh: Added support for Bridge client/server 2024-09-17 05:22:32 -04:00
shell Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
smp Bluetooth: Mark bt_<type>_err_to_str() APIs experimental 2024-07-11 13:11:59 -04:00
tester Bluetooth: Tester: Force initial conn param to 30ms 2024-10-15 04:06:53 -04:00
uuid tests/bluetooth: Don't test on native_posix 2024-09-25 04:04:36 -04:00