Commit: 81a99593276814df47f482df44ca1f1700dd5ae6
Parent: 9faf1244a93217775e31ed5ef3b656d4430b63e1
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-10-24 19:24:47
Tree: f4cbdc09167f0ca264d00dee29a3dfa0744a80f9

bass: Fix handling of BT_BASS_MOD_SRC If BT_BASS_MOD_SRC is received and the sync_state is set to BT_BASS_SYNCHRONIZED_TO_PA it doesn't necessarily mean that the device shall be removed, specially in case the assistant and broadcast source are the same device. In order to fix this behavior this attempts to free the setups that were used for the BIS being modified, then if all setups are freed in the process proceed to disconnect the service and then check if the device is still considered connected after that, only if is not connected then remove it.

Diffstat

M profiles/audio/bass.c | 137 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 81 insertions(+), 56 deletions(-)

View Full Diff | Patch