From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> It remote SEP has no codec capabilities it must be read with GetCapabilities/GetAllCapabilities otherwise we cannot match it with a local SEP. --- profiles/audio/avdtp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index ff0a124c3..1093a3543 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -2706,7 +2706,8 @@ static gboolean avdtp_discover_resp(struct avdtp *session, sep = find_remote_sep(session->seps, resp->seps[i].seid); if (sep && sep->type == resp->seps[i].type && - sep->media_type == resp->seps[i].media_type) + sep->media_type == resp->seps[i].media_type && + sep->codec) continue; if (resp->seps[i].inuse && !stream) -- 2.26.2