From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Local role should be the opposite of the remote role otherwise if either audio-source or audio-sink is disabled none will work. --- profiles/audio/manager.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/profiles/audio/manager.c b/profiles/audio/manager.c index 42a2b58..f7ff751 100644 --- a/profiles/audio/manager.c +++ b/profiles/audio/manager.c @@ -331,8 +331,8 @@ static struct btd_profile a2dp_source_profile = { .connect = a2dp_source_connect, .disconnect = a2dp_source_disconnect, - .adapter_probe = a2dp_source_server_probe, - .adapter_remove = a2dp_source_server_remove, + .adapter_probe = a2dp_sink_server_probe, + .adapter_remove = a2dp_sink_server_remove, }; static struct btd_profile a2dp_sink_profile = { @@ -347,8 +347,8 @@ static struct btd_profile a2dp_sink_profile = { .connect = a2dp_sink_connect, .disconnect = a2dp_sink_disconnect, - .adapter_probe = a2dp_sink_server_probe, - .adapter_remove = a2dp_sink_server_remove, + .adapter_probe = a2dp_source_server_probe, + .adapter_remove = a2dp_source_server_remove, }; static struct btd_profile avrcp_profile = { -- 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