From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> AVDTP spec, 8.15.2 Abort Response: "If an AVDTP_ABORT_CMD contains an invalid SEID, no response shall be sent." --- audio/avdtp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/audio/avdtp.c b/audio/avdtp.c index 08264f4..61f5f94 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -1951,10 +1951,8 @@ static gboolean avdtp_abort_cmd(struct avdtp *session, uint8_t transaction, } sep = find_local_sep_by_seid(session->server, req->acp_seid); - if (!sep || !sep->stream) { - err = AVDTP_BAD_ACP_SEID; - goto failed; - } + if (!sep || !sep->stream) + return TRUE; if (sep->ind && sep->ind->abort) { if (!sep->ind->abort(session, sep, sep->stream, &err, -- 1.7.10.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