From b843a5c5b4b52faa19a8926c4b8f6da185a386bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= Date: Fri, 26 Aug 2022 12:00:34 +0200 Subject: profiles: Update transport Links property on state change to QoS Currently, the Links property is only sent after the first call to the Acquire method, this cmay result in a rejection if a linked transport tries to call the Acquire method before receiving the Links update. --- profiles/audio/transport.c | 1 + 1 file changed, 1 insertion(+) (limited to 'profiles') diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c index f36e609cb..f233643a6 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -1321,6 +1321,7 @@ static void bap_state_changed(struct bt_bap_stream *stream, uint8_t old_state, /* If a request is pending wait it to complete */ if (owner && owner->pending) return; + bap_update_links(transport); transport_update_playing(transport, FALSE); return; case BT_BAP_STREAM_STATE_DISABLING: -- cgit v1.2.1