Commit: c584335d44365520d14bc63abeaa48dd3da9a38f
Parent: 8d181e4e4a06996bc9550cf5dee250f57fe36f5f
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-10-17 18:50:03
Tree: 9d966af7c28745f13e102967c83b4c4ab298032c

bap: tolerate inverted STREAMING and iso_connect_cb() Ordering of STREAMING and iso_connect_cb() is unspecified, as kernel/Glib do not preserve the order of these events. STREAMING before iso_connect_cb() causes transport to fail Acquire() since bt_bap_stream_io::connecting == true. Fix by marking IO as connected even though the connection didn't yet complete. The socket fd is valid, although not yet writable/readable. Fixes: https://github.com/bluez/bluez/issues/1506

Diffstat

M profiles/audio/bap.c | 21 +++++++++++++++++++++

1 files changed, 21 insertions(+), 0 deletions(-)

View Full Diff | Patch