Commit: 134933c2861fca324f455a50afa16a3e120c898f
Parent: 7b69385b5fcd3ed09782fffffc8b5dd1ff5dc746
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2012-09-17 16:36:39
Tree: 2254c61800edb3689851a2025f60ef71b572ff6d

media: Fix infinite loop due to release_endpoint() release_endpoint() cannot succeed unless all transports are released first. For example a2dp_remove_sep() will ignore the call if the SEP is locked, leading to an infinite loop in path_free(), which expects to successfully release and remove the endpoint in each call to release_endpoint(). This issue can easily be reproduced by shutting bluetoothd daemon during A2DP streaming (tested in sink role).

Diffstat

M audio/media.c | 4 ++- -

1 files changed, 2 insertions(+), 2 deletions(-)

View Full Diff | Patch