zephyr/subsys/bluetooth/audio
Emil Gydesen b413b505ee Bluetooth: BAP: Broadcast: Fix state checks
The existing state checks for both the broadcast sink
and broadcast source only ever checked the first BIS.
This sort of made sense, since they are all linked by HCI
(i.e. they share the same state), but there is a race condition
in the ISO and BAP callbacks that could allow applications
to delete sinks and sources before all the ISO callbacks
had been handled.

By treating the sink and source states as the highest value
of the BIS, then we better treat all BIS the same.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-07-03 15:28:17 +02:00
..
shell Bluetooth: Audio: Unchecked return value in audio.h 2024-06-27 08:48:18 -04:00
aics_client.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
aics_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
aics.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
ascs_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
ascs.c Bluetooth: ASCS: Validate num_ases in CP requests 2024-06-28 07:20:47 -04:00
audio_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
audio.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_base.c Bluetooth: BAP: Add bt_bap_base_get_size function 2024-06-14 15:34:23 +02:00
bap_broadcast_assistant.c Bluetooth: audio: BAP Broadcast Assistant support for multiple connections 2024-06-13 17:53:47 +02:00
bap_broadcast_sink.c Bluetooth: BAP: Broadcast: Fix state checks 2024-07-03 15:28:17 +02:00
bap_broadcast_source.c Bluetooth: BAP: Broadcast: Fix state checks 2024-07-03 15:28:17 +02:00
bap_endpoint.h Bluetooth: BAP: Broadcast Source: Update stream codec config data 2024-06-13 08:04:27 -04:00
bap_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_iso.c bluetooth: audio: fix typo 2024-06-25 10:27:23 -04:00
bap_iso.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_scan_delegator.c Bluetooth: BAP: Scan del: Overwrite metadata if len == 0 2024-07-01 18:14:14 +02:00
bap_stream.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_stream.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_unicast_client_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_unicast_client.c bluetooth: audio: fix typo 2024-06-25 10:27:23 -04:00
bap_unicast_server.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_unicast_server.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
cap_acceptor.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
cap_commander.c Bluetooth: Audio: CAP broadcast reception start bugfix 2024-06-12 18:15:38 -04:00
cap_common.c Bluetooth: BAP: Unicast client Split start and connect 2024-06-03 15:42:33 +02:00
cap_initiator.c Bluetooth: Audio: Dereference null return value in cap_initiator.c 2024-06-27 08:48:46 -04:00
cap_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
cap_stream.c Bluetooth: CAP: Fix linker issue in cap_stream.c for x86 2024-06-07 13:01:13 +02:00
ccid_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
ccid.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
CMakeLists.txt Bluetooth: CAP: cap_common.c should only be included with ACL 2024-03-21 15:24:26 +01:00
codec.c Bluetooth: Audio: Add fallback to cfg_meta_get_pref_context 2024-06-13 05:41:47 -04:00
csip_crypto.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
csip_crypto.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
csip_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
csip_set_coordinator.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
csip_set_member.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
gmap_client.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
gmap_server.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
has_client.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
has_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
has.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
Kconfig Bluetooth: Audio: Remove empty Kconfig.bass 2024-05-30 16:49:06 -05:00
Kconfig.aics Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.ascs
Kconfig.bap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.cap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.csip Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.gmap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.has Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.mcs everywhere: replace double words 2024-06-22 05:40:22 -04:00
Kconfig.mctl Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.micp Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.mpl everywhere: replace double words 2024-06-22 05:40:22 -04:00
Kconfig.pacs
Kconfig.pbp Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.tbs
Kconfig.tmap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.vcp Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.vocs Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
mcc_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
mcc.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
mcs_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
mcs.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
media_proxy_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
media_proxy.c bluetooth: audio: fix typo 2024-06-25 10:27:23 -04:00
micp_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
micp_mic_ctlr.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
micp_mic_dev.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
mpl_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
mpl.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
pacs_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
pacs.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
pbp.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
tbs_client.c everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
tbs_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
tbs.c everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
tmap.c bluetooth: audio: fix typo 2024-06-25 10:27:23 -04:00
vcp_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
vcp_vol_ctlr.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
vcp_vol_rend.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
vocs_client.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
vocs_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
vocs.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00