* [bluez/bluez] 32197f: bap: tolerate inverted STREAMING and iso_connect_cb()
@ 2025-10-15 15:46 Pauli Virtanen
0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2025-10-15 15:46 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1011959
Home: https://github.com/bluez/bluez
Commit: 32197fd668cb86c0d6750cb68d51f225f993bd48
https://github.com/bluez/bluez/commit/32197fd668cb86c0d6750cb68d51f225f993bd48
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-10-15 (Wed, 15 Oct 2025)
Changed paths:
M profiles/audio/bap.c
Log Message:
-----------
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
Commit: 42be568f2c1286bb0f4de833e12630af9a676bfb
https://github.com/bluez/bluez/commit/42be568f2c1286bb0f4de833e12630af9a676bfb
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-10-15 (Wed, 15 Oct 2025)
Changed paths:
M profiles/audio/transport.c
Log Message:
-----------
transport: wait until BAP fd is writable/readable before resuming
Connection may still be pending when entering STREAMING.
Wait until the fd becomes readable/writable before continuing.
Compare: https://github.com/bluez/bluez/compare/32197fd668cb%5E...42be568f2c12
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-15 15:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15 15:46 [bluez/bluez] 32197f: bap: tolerate inverted STREAMING and iso_connect_cb() Pauli Virtanen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).