Parent: a14d59725ef35d91b8504770046c701d0a2efe07
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-11-04 19:54:31
Tree: c9f384bf8af34fd345d8fd5a4d5201e51987f35c
a2dp: don't change setup sep when it is reconfiguring If a2dp_resume/a2dp_suspend are called while setup is being reconfigured, they make the reconfiguration use wrong SEP. This occurs if transport Acquire/Release are called while reconfiguration is waiting for CLOSE_RSP. Fix by failing a2dp_resume/suspend early without changing the setup, if it is reconfiguring. Such resume/suspend calls would in any case fail, because avdtp_close(stream) has been done, so avdtp_suspend/resume would return error.
Diffstat
| M | profiles/audio/a2dp.c | | | 6 | ++++++ |
1 files changed, 6 insertions(+), 0 deletions(-)