linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/3] audio: Remove auto_connect flag from audio-avrcp-target
@ 2013-05-23 18:58 Luiz Augusto von Dentz
  2013-05-23 18:58 ` [PATCH BlueZ 2/3] audio: Make use of .device_probe in all AVRCP profile drivers Luiz Augusto von Dentz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Luiz Augusto von Dentz @ 2013-05-23 18:58 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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 15226e4..1518e5d 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,
 
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-24 15:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 18:58 [PATCH BlueZ 1/3] audio: Remove auto_connect flag from audio-avrcp-target Luiz Augusto von Dentz
2013-05-23 18:58 ` [PATCH BlueZ 2/3] audio: Make use of .device_probe in all AVRCP profile drivers Luiz Augusto von Dentz
2013-05-23 18:58 ` [PATCH BlueZ 3/3] audio/control: Remove control_update Luiz Augusto von Dentz
2013-05-24  0:21 ` [PATCH BlueZ 1/3] audio: Remove auto_connect flag from audio-avrcp-target Luiz Augusto von Dentz
2013-05-24  6:54   ` Mikel Astiz
2013-05-24 14:29     ` Luiz Augusto von Dentz
2013-05-24 15:43       ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).