When a Broadcast Sink acting as a Scan Delegator probes a Broadcaster with the help of a Broadcast Assistant, a new BAP session is added for the Broadcaster device before additional session information is initialized (like the bt_bap session). This causes the bap debug func to not be set in bap_data_add. This patch adds an explicit call to set the function after the bt_bap session is created. Iulia Tanasescu (1): bap: Set bap debug func at broadcast probe profiles/audio/bap.c | 3 +++ 1 file changed, 3 insertions(+) base-commit: 7aa245979db6ee74b665154f5c1f203a277eb64a -- 2.39.2