From 603ffaf50af110e184db95dcc39507f2495a8a92 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 16 Oct 2025 15:37:50 -0400 Subject: [PATCH] shared/bap: Fix not calling attach callback on bt_bap_attach_broadcast bt_bap_attach_broadcast shall call the attach callback just as any other instance of bt_bap_attach. --- src/shared/bap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/bap.c b/src/shared/bap.c index c56429751..6573ea39c 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -5684,6 +5684,8 @@ bool bt_bap_attach_broadcast(struct bt_bap *bap) queue_push_tail(sessions, bap); + queue_foreach(bap_cbs, bap_attached, bap); + ep = bap_get_endpoint_bcast(bap->remote_eps, bap->ldb, BT_BAP_BCAST_SOURCE); if (ep) -- 2.47.3