zephyr/subsys/bluetooth/host
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
..
classic
shell
addr_internal.h
addr.c
adv.c
adv.h
aes_ccm.c
att_internal.h tests: bsim: bluetooth: host: att: Add ATT timeout test 2024-10-10 14:59:02 -04:00
att.c
buf_view.h
buf.c
CMakeLists.txt
conn_internal.h bluetooth: conn: Use a separate workqueue for connection TX notify 2024-10-11 13:16:26 -04:00
conn.c bluetooth: conn: Use a separate workqueue for connection TX notify 2024-10-11 13:16:26 -04:00
crypto_psa.c
crypto_tc.c
crypto.h
cs.c
data.c
direction_internal.h
direction.c
ecc.c
ecc.h
gatt_internal.h
gatt.c
hci_common.c
hci_core.c bluetooth: conn: Use a separate workqueue for connection TX notify 2024-10-11 13:16:26 -04:00
hci_core.h
hci_ecc.c
hci_ecc.h
hci_raw_internal.h
hci_raw.c
id.c Bluetooth: Host: Fix issue where uninitialized value was used 2024-10-15 04:07:50 -04:00
id.h
iso_internal.h
iso.c Bluetooth: ISO: Add ISO BIS bitfield check macro 2024-10-10 20:22:39 -04:00
Kconfig bluetooth: conn: Use a separate workqueue for connection TX notify 2024-10-11 13:16:26 -04:00
Kconfig.gatt
Kconfig.l2cap
keys.c
keys.h
l2cap_internal.h
l2cap.c bluetooth: host: l2cap: Check conn state before queueing PDU 2024-10-10 14:59:02 -04:00
long_wq.c
long_wq.h
monitor.c
monitor.h
scan.c
scan.h
settings.c
settings.h
smp_null.c
smp.c
smp.h
uuid.c