From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- profiles/audio/avdtp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index 4361e23..6132c13 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -1217,6 +1217,8 @@ void avdtp_unref(struct avdtp *session) if (session->ref > 0) return; + finalize_discovery(session, ECONNABORTED); + set_disconnect_timer(session); } -- 2.1.0 -- 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