zephyr/subsys/bluetooth/audio
Emil Gydesen 7c40b071e4 Bluetooth: CSIP: Fix off-by-one in in lock restore
If the lock request was rejected by a set member we should
restore any previously written logs in reverse order.

However there was a off-by-one error in
csip_set_coordinator_write_lock_cb which caused us to attempt to
release member[1] instead of member[0] if member[1] was the
one that rejected the lock request.

Additionally, the lock_set_complete would be called
prematurely before we get the response from the restore
request.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-11-08 09:24:43 -06:00
..
shell Bluetooth: Audio: shell command for broadcast reception stop 2024-10-26 03:59:04 +01:00
CMakeLists.txt Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
Kconfig Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
Kconfig.aics Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.ascs
Kconfig.bap Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.cap Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.csip
Kconfig.gmap
Kconfig.has Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.mcs Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.mctl
Kconfig.micp Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.mpl Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
Kconfig.pacs
Kconfig.pbp
Kconfig.tbs Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.tmap
Kconfig.vcp Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.vocs
aics.c
aics_client.c
aics_internal.h
ascs.c Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
ascs_internal.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
audio.c Bluetooth: Audio: Add bt_audio_data_get_val 2024-10-25 14:01:42 +02:00
audio_internal.h
bap_base.c
bap_broadcast_assistant.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_broadcast_sink.c Bluetooth: BAP: Fix bad state check for broadcast sink 2024-11-07 18:04:34 -06:00
bap_broadcast_source.c Bluetooth: audio: Add possibility to use static broadcast id 2024-10-25 14:07:25 +02:00
bap_endpoint.h Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_internal.h Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_iso.c
bap_iso.h
bap_scan_delegator.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_stream.c Bluetooth: BAP: Fix bad check in bt_audio_valid_qos_pref 2024-10-08 16:58:09 +02:00
bap_stream.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_client.c Bluetooth: BAP: Disallow bt_bap_stream_stop when CIS is not connected 2024-10-23 16:53:44 +02:00
bap_unicast_client_internal.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_server.c Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_server.h
cap_acceptor.c
cap_commander.c
cap_common.c
cap_initiator.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
cap_internal.h Bluetooth: CAP: Add support for handling ASE errors 2024-10-23 16:53:44 +02:00
cap_stream.c Bluetooth: CAP: Add support for handling ASE errors 2024-10-23 16:53:44 +02:00
ccid.c Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
codec.c Bluetooth: Audio: Add bt_audio_data_get_val 2024-10-25 14:01:42 +02:00
csip_crypto.c
csip_crypto.h
csip_internal.h
csip_set_coordinator.c Bluetooth: CSIP: Fix off-by-one in in lock restore 2024-11-08 09:24:43 -06:00
csip_set_member.c
gmap_client.c
gmap_server.c
has.c
has_client.c
has_internal.h
mcc.c
mcc_internal.h
mcs.c
mcs_internal.h
media_proxy.c
media_proxy_internal.h
micp_internal.h
micp_mic_ctlr.c
micp_mic_dev.c
mpl.c Bluetooth: CCID: Improved CCID allocation 2024-10-15 04:10:28 -04:00
mpl_internal.h
pacs.c
pacs_internal.h
pbp.c
tbs.c Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
tbs_client.c
tbs_internal.h
tmap.c
vcp_internal.h
vcp_vol_ctlr.c
vcp_vol_rend.c
vocs.c
vocs_client.c
vocs_internal.h