Parent: 19ce052d35d367005bfcf63461e43758301556f1
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-07-05 20:48:31
Tree: fd5a0183e1a9baed213e48b4df2fe82a76a69377
shared/bap: detach io for source ASEs only after Stop Ready The Client may terminate a CIS when sink is in QOS and source in Disabling states (BAP v1.0.1 Sec 5.6.5). It may also terminate it when Receiver Stop Ready has completed successfully (BAP v1.0.1 Sec 5.6.5.1). It appears Samsung Galaxy Buds2 Pro (R510XXUOAWA5) ignores the Receiver Stop Ready command if CIS is already disconnected, and then gets stuck in disabling state. It works if CIS is disconnected after Receiver Stop Ready. For better compatibility as client for this device, and since it shouldn't matter for us in which order we do it, disconnect CIS after completion of Receiver Stop Ready, instead of immediately in Disabling. We disconnect also if Receiver Stop Ready fails, given that disconnecting in Disabled state should be OK. Link: https://github.com/bluez/bluez/issues/516
Diffstat
| M | src/shared/bap.c | | | 33 | +++++++++++++++- - - - - - - - - - - - - - - - - - |
1 files changed, 15 insertions(+), 18 deletions(-)