Parent: 4cf79541763cb02e2a553ed16c88bf1d13595eb4
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-11-10 13:49:39
Tree: 86b9d25bb75de6d7fc13a245de873a07d71dcf5e
avdtp: Fix disconnecting before stream setup completes This is a regression introduced by 7ece89b0b6f1ef8b4d4ca132a5163c08a14c41e2 which cause the disconnection to happen immediatelly when the last reference is droppped but since the stream setup may have been started by the remove end there is a chance a stream is currently ongoing in which case the previous behavior of not disconnecting immediatelly is required in order to give time for the end to complete any pending request.
Diffstat
| M | profiles/audio/avdtp.c | | | 8 | +++- - - - - |
1 files changed, 3 insertions(+), 5 deletions(-)