From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> When guessing the AVRCP role of the session being created, do not rely on the state of the sink. This is actually a common scenario when the connection of the sink failed. --- profiles/audio/avrcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index e9d352c..677bf88 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -2862,7 +2862,7 @@ static struct avrcp *session_create(struct avrcp_server *server, session->target = TRUE; else if (dev->source && !dev->sink) session->target = FALSE; - else if (dev->sink && sink_is_active(dev)) + else if (dev->sink && !dev->source) session->target = TRUE; else session->target = FALSE; -- 1.8.1.4 -- 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