From d507e408c21871f44fe16e1d7c76b67d90af36a2 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 20 Jan 2017 15:35:43 +0200 Subject: [PATCH] audio/avdtp: Fix not aborting SetConfiguration If for some reason SetConfiguration is cancelled an Abort shall be generated since it there could be a stream pending. --- profiles/audio/avdtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index 4a21e0389..51ead684a 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -2489,7 +2489,7 @@ static int cancel_request(struct avdtp *session, int err) if (lsep && lsep->cfm && lsep->cfm->set_configuration) lsep->cfm->set_configuration(session, lsep, stream, &averr, lsep->user_data); - goto failed; + break; case AVDTP_DISCOVER: error("Discover: %s (%d)", strerror(err), err); goto failed; -- 2.47.3