From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/hal-sco.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/android/hal-sco.c b/android/hal-sco.c index b4667e5..fc12b50 100644 --- a/android/hal-sco.c +++ b/android/hal-sco.c @@ -545,7 +545,11 @@ static int out_set_format(struct audio_stream *stream, audio_format_t format) static int out_standby(struct audio_stream *stream) { - DBG(""); + DBG("stream %p", stream); + + pthread_mutex_lock(&sco_mutex); + sco_close_socket(); + pthread_mutex_unlock(&sco_mutex); return 0; } -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html