Parent: c18829a8bf7999ce9b4b6233e343d9aafe7fd11b
Author: Marijn Suijten <marijns95@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-10-27 01:44:27
Tree: bee30eaa83785ee834b54133454fe03dbc71c6cb
audio/media: Destroy transport if SetConfiguration fails set_configuration creates a transport before calling SetConfiguration on the MediaEndpoint1 DBus interface. If this DBus call fails the transport sticks around while it should instead be cleaned up. When the peer retries or reconnects (in case of BlueZ which cuts the connection due to a missing recount [1]) set_configuration finds this old transport and returns FALSE. The peer will never succeed this call unless it randomly decides to call clear_configuration or BlueZ is restarted. [1]: https://marc.info/?l=linux-bluetooth&m=160364326629847&w=2
Diffstat
| M | profiles/audio/media.c | | | 18 | ++++++++++++++++- - |
1 files changed, 16 insertions(+), 2 deletions(-)