zephyr/subsys/bluetooth/audio
Emil Gydesen 0b654c1502 Bluetooth: BAP: Fix conn checks for bcast assistant notifications
The notify handle in the BAP broadcast assistant did not handle
conn == NULL properly, and neither did delayed_bap_read_handler.

Add better NULL checks, which also fixes a coverity issue.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-05-28 12:53:48 +02:00
..
shell Bluetooth: Audio: add bt_audio_get_chan_count 2024-05-24 09:55:37 -05:00
aics.c Bluetooth: Audio: Use utf8_lcpy to copy UTF8 strings with termination. 2024-01-29 10:28:18 +01:00
aics_client.c Bluetooth: Audio: Use BT_GATT_SUBSCRIBE_FLAG_VOLATILE 2024-02-02 09:34:52 -06:00
aics_internal.h Bluetooth: aics: Retry sending notification on error 2023-08-24 10:22:12 +02:00
ascs.c Bluetooth: BAP: Reset _prev_seq_num on ISO connection 2024-02-09 14:39:40 +01:00
ascs_internal.h Bluetooth: audio: ascs: Defer ASE state transition 2023-07-18 11:05:03 +00:00
audio.c Bluetooth: Audio: add bt_audio_get_chan_count 2024-05-24 09:55:37 -05:00
audio_internal.h Bluetooth: micp_mic_dev: Retry sending notification on error 2023-08-24 10:22:12 +02:00
bap_base.c Bluetooth: BAP: Add bt_bap_base_subgroup_get_bis_indexes 2024-02-27 14:46:33 +01:00
bap_broadcast_assistant.c Bluetooth: BAP: Fix conn checks for bcast assistant notifications 2024-05-28 12:53:48 +02:00
bap_broadcast_sink.c Bluetooth: Audio: Increase PA sync timeouts 2024-03-21 15:24:14 +01:00
bap_broadcast_source.c bluetooth: audio: broadcast source: Add missing check condition 2024-03-20 08:20:09 -05:00
bap_endpoint.h Bluetooth: BAP: Fix missing cfg data in stream->codec_cfg for BIS 2024-03-01 16:04:19 +01:00
bap_internal.h Bluetooth: CAP: Commander Reception start procedure 2024-05-07 09:34:01 +02:00
bap_iso.c Bluetooth: BAP: Fix issue with setting invalid iso data path 2024-01-22 13:09:16 +01:00
bap_iso.h Bluetooth: BAP: Fix issue with setting invalid iso data path 2024-01-22 13:09:16 +01:00
bap_scan_delegator.c Bluetooth: CAP: Commander Reception start procedure 2024-05-07 09:34:01 +02:00
bap_stream.c Bluetooth: Audio: Get function for bt_audio_codec_qos_pref. 2024-05-24 08:04:45 -04:00
bap_stream.h Bluetooth: BAP: Broadcast source: Add LTV validation for LC3 data 2024-03-01 16:04:19 +01:00
bap_unicast_client.c Bluetooth: BAP: Unicast Client: Replace some LOG_ERR/WRN with DBG 2024-04-08 09:12:31 -04:00
bap_unicast_client_internal.h Bluetooth: Audio: Refactor bt_audio_codec_cfg to flat arrays 2023-08-28 15:56:53 +02:00
bap_unicast_server.c Bluetooth: Audio: Refactor bt_audio_codec_cfg to flat arrays 2023-08-28 15:56:53 +02:00
bap_unicast_server.h Bluetooth: Audio: Refactor bt_audio_codec_cfg to flat arrays 2023-08-28 15:56:53 +02:00
cap_acceptor.c Bluetooth: CSIP: Add bt_csip_set_member_unregister 2024-01-31 21:34:27 -05:00
cap_commander.c Bluetooth: CAP: fix bug in reception start 2024-05-27 05:01:49 -07:00
cap_common.c Bluetooth: CAP: Add reference to the set member for CAP discover 2024-05-18 15:51:26 +03:00
cap_initiator.c Bluetooth: CAP: Add reference to the set member for CAP discover 2024-05-18 15:51:26 +03:00
cap_internal.h Bluetooth: CAP: Add reference to the set member for CAP discover 2024-05-18 15:51:26 +03:00
cap_stream.c Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
ccid.c Bluetooth: CAP: Add verification of CCIDs as the initiator 2023-10-20 15:05:33 +02:00
ccid_internal.h Bluetooth: CAP: Commander discovery support 2023-12-19 08:50:40 +01: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: Remove !found dbg log in codec.c 2024-04-08 09:12:45 -04:00
csip_crypto.c Bluetooth: CSIP: Use bt_crypto_aes_cmac instead of own 2024-01-16 09:33:58 -06:00
csip_crypto.h Bluetooth: audio: csis: Fix Big Endianness for RSI generation 2023-04-12 17:44:29 +02:00
csip_internal.h Bluetooth: CAP: Add reference to the set member for CAP discover 2024-05-18 15:51:26 +03:00
csip_set_coordinator.c Bluetooth: CAP: Add reference to the set member for CAP discover 2024-05-18 15:51:26 +03:00
csip_set_member.c Bluetooth: CSIP: remove print_sirk 2024-02-25 22:28:26 -05:00
gmap_client.c Bluetooth: GMAP: Add initial implementation of GMAP 2023-12-11 18:30:57 +01:00
gmap_server.c Bluetooth: GMAP: Add initial implementation of GMAP 2023-12-11 18:30:57 +01:00
has.c Bluetooth: has: Fix control point error return code 2023-12-13 09:42:04 +01:00
has_client.c Bluetooth: Audio: Use BT_GATT_SUBSCRIBE_FLAG_VOLATILE 2024-02-02 09:34:52 -06:00
has_internal.h Bluetooth: audio: has_client: Move bt_has_client structure to header 2024-01-02 10:10:15 +01:00
Kconfig Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.aics Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.ascs Bluetooth: ASCS: Add support for long read 2023-05-12 15:29:17 +02:00
Kconfig.bap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.bass Bluetooth: Audio: Rename BASS and BASS client 2022-11-16 11:17:52 +01: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 Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02: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 Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.pacs Bluetooth: PACS: Remove CONFIG_BT_PACS_{SNK,SRC}_CONTEXT 2023-09-22 09:21:53 +02:00
Kconfig.pbp Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.tbs Bluetooth: audio: tbs_client: Minor Kconfig refactor 2023-07-18 11:06:57 +00:00
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.c Bluetooth: Audio: Use BT_GATT_SUBSCRIBE_FLAG_VOLATILE 2024-02-02 09:34:52 -06:00
mcc_internal.h Bluetooth: Audio: Use BT_GATT_SUBSCRIBE_FLAG_VOLATILE 2024-02-02 09:34:52 -06:00
mcs.c Bluetooth: Audio: Ensure that read callbacks can handle conn == NULL 2024-01-17 11:58:44 -05:00
mcs_internal.h Bluetooth: Audio: Add BT_MCS_VALID_OP 2023-04-07 11:29:54 +02:00
media_proxy.c Bluetooth: Audio: MCC optional procedures actually optional 2024-02-02 12:42:55 +01:00
media_proxy_internal.h Bluetooth: Audio: Add media player icon URL changed callback 2023-02-20 11:25:42 +01:00
micp_internal.h Bluetooth: MICP: Fix missing guards for AICS 2024-02-05 13:13:00 +01:00
micp_mic_ctlr.c Bluetooth: MICP: Fix missing guards for AICS 2024-02-05 13:13:00 +01:00
micp_mic_dev.c Bluetooth: micp_mic_dev: Retry sending notification on error 2023-08-24 10:22:12 +02:00
mpl.c Bluetooth: MPL: Fix track position in playing and stopped state 2024-01-31 21:34:12 -05:00
mpl_internal.h Bluetooth: MPL: Add track position notifications during seeking 2023-12-19 08:51:21 +01:00
pacs.c Bluetooth: Audio: Ensure that read callbacks can handle conn == NULL 2024-01-17 11:58:44 -05:00
pacs_internal.h Bluetooth: audio: pacs: Add bt_pacs_set_available_contexts_for_conn 2023-12-06 17:54:14 +00:00
pbp.c Bluetooth: PBP: Fix parsing and return issue with bt_pbp_parse_announcement 2024-01-31 21:33:56 -05:00
tbs.c Bluetooth: Audio: Use utf8_lcpy to copy UTF8 strings with termination. 2024-01-29 10:28:18 +01:00
tbs_client.c Bluetooth: Audio: Use BT_GATT_SUBSCRIBE_FLAG_VOLATILE 2024-02-02 09:34:52 -06:00
tbs_internal.h Bluetooth: audio: tbs: Add call_alloc/call_free helper functions 2023-12-22 14:41:00 +00:00
tmap.c Bluetooth: TMAP: Make callback const 2023-06-30 16:10:51 +02:00
vcp_internal.h Bluetooth: VCP: Fix missing guards for AICS and VOCS 2024-02-05 13:13:00 +01:00
vcp_vol_ctlr.c Bluetooth: VCP: Remove bad busy flag set for vol ctlr 2024-04-29 11:02:29 +02:00
vcp_vol_rend.c Bluetooth: VCP: Vol rend: Add check before notification log 2023-12-06 17:55:10 +00:00
vocs.c Bluetooth: Audio: Use utf8_lcpy to copy UTF8 strings with termination. 2024-01-29 10:28:18 +01:00
vocs_client.c Bluetooth: Audio: Use BT_GATT_SUBSCRIBE_FLAG_VOLATILE 2024-02-02 09:34:52 -06:00
vocs_internal.h Bluetooth: vocs: Retry sending notification on error 2023-08-24 10:22:12 +02:00