zephyr/subsys/bluetooth
Emil Gydesen 1f1e4afa4f Bluetooth: CSIP: Handle disconnects while in procedure
If a device disconnects while we are in a procedure then
get_next_active_instance would return a service instance pointer
with the `conn` set to NULL.

The issue was caused by the set_info being potentially memset
when the device that disconnected was the one that held the
set_info pointer.
The solution is to not use a pointer, but rather a copy of the
set_info, so that the active.set_info value is still valid
after a disconnect.

Since the set_info is not longer a pointer to a specific
set_info from one of the members, the logs have been updated
as well, as the pointer of the active.set_info is useless
for debugging.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-11-06 14:42:51 -06:00
..
audio Bluetooth: CSIP: Handle disconnects while in procedure 2024-11-06 14:42:51 -06: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 spurious ISO Sync receiver stall 2024-11-05 13:44:37 -06:00
crypto bluetooth: fix typo in (common, crypto, services, shell) 2024-06-25 10:27:23 -04:00
host Bluetooth: Host: Fix monitor UART selection 2024-11-01 09:56:52 -05:00
lib
mesh Bluetooth: Mesh: Introduce separate workq for ADV EXT 2024-11-05 15:24:31 -06:00
services bluetooth: BAS: add battery critical status char to bas service 2024-10-22 14:06:35 +02:00
CMakeLists.txt Bluetooth: Shell: Restructure shell files 2024-09-24 09:21:04 -04:00
Kconfig bluetooth: host: LE CS subevent result reassembly 2024-10-15 19:09:05 -04:00
Kconfig.adv
Kconfig.iso Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.logging Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00