From 473c6c0569849cd0a629b7274d5b7e5d6ee912bc Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 23 May 2013 11:06:09 -0700 Subject: [PATCH] audio: Remove auto_connect flag from audio-avrcp-target By the time the profile is registered it is not really possible to tell which role of AVRCP should be connected, currently this cause a problem with headsets that normally are controllers/sink but since it normally also has target record for features related to things like volume control the target profile is also probed and as it currently has the auto_connect set it would lead to the wrong profile to start connecting. --- profiles/audio/manager.c | 1 - 1 file changed, 1 deletion(-) diff --git a/profiles/audio/manager.c b/profiles/audio/manager.c index 15226e45f..1518e5d77 100644 --- a/profiles/audio/manager.c +++ b/profiles/audio/manager.c @@ -376,7 +376,6 @@ static struct btd_profile avrcp_target_profile = { .device_probe = avrcp_probe, .device_remove = audio_remove, - .auto_connect = true, .connect = avrcp_target_connect, .disconnect = avrcp_target_disconnect, -- 2.47.3