diff options
author | Frédéric Danis <frederic.danis@collabora.com> | 2022-08-26 12:00:34 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-29 12:44:49 -0700 |
commit | b843a5c5b4b52faa19a8926c4b8f6da185a386bc (patch) | |
tree | 048b4b81b72b2bc2760cb9baab0aab7052353502 /profiles | |
parent | 34e8c20d488f8f596857813b615f81355ab70c47 (diff) | |
download | bluez-b843a5c5b4b52faa19a8926c4b8f6da185a386bc.tar.gz |
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.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/audio/transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |