summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-02-07 15:56:22 +0200
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-03-09 18:17:23 +0000
commit27cbe08fb5446d17d80d8a563e2c7b0432e88a0d (patch)
tree047bf24b0a6db991e6847fd7eda7b1d8a5082ea2
parent10da93022f67f4b47463e0bf1aa809b632e799c7 (diff)
downloadbluez-27cbe08fb5446d17d80d8a563e2c7b0432e88a0d.tar.gz
profiles: Add missing local_uuid
-rw-r--r--profiles/audio/a2dp.c4
-rw-r--r--profiles/audio/avrcp.c4
-rw-r--r--profiles/health/hdp_manager.c2
3 files changed, 10 insertions, 0 deletions
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index b0fea7c4e..2fe396c44 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -2429,6 +2429,8 @@ static struct btd_profile a2dp_source_profile = {
.priority = BTD_PROFILE_PRIORITY_MEDIUM,
.remote_uuid = A2DP_SOURCE_UUID,
+ .local_uuid = A2DP_SINK_UUID,
+
.device_probe = a2dp_source_probe,
.device_remove = a2dp_source_remove,
@@ -2445,6 +2447,8 @@ static struct btd_profile a2dp_sink_profile = {
.priority = BTD_PROFILE_PRIORITY_MEDIUM,
.remote_uuid = A2DP_SINK_UUID,
+ .local_uuid = A2DP_SOURCE_UUID,
+
.device_probe = a2dp_sink_probe,
.device_remove = a2dp_sink_remove,
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 7b6001241..f4d3b03b4 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -4324,6 +4324,8 @@ static struct btd_profile avrcp_target_profile = {
.name = "audio-avrcp-target",
.remote_uuid = AVRCP_TARGET_UUID,
+ .local_uuid = AVRCP_REMOTE_UUID,
+
.device_probe = avrcp_target_probe,
.device_remove = avrcp_target_remove,
@@ -4407,6 +4409,8 @@ static struct btd_profile avrcp_controller_profile = {
.name = "avrcp-controller",
.remote_uuid = AVRCP_REMOTE_UUID,
+ .local_uuid = AVRCP_TARGET_UUID,
+
.device_probe = avrcp_controller_probe,
.device_remove = avrcp_controller_remove,
diff --git a/profiles/health/hdp_manager.c b/profiles/health/hdp_manager.c
index 401adf6e9..b1580d1e3 100644
--- a/profiles/health/hdp_manager.c
+++ b/profiles/health/hdp_manager.c
@@ -71,6 +71,7 @@ static void hdp_driver_remove(struct btd_service *service)
static struct btd_profile hdp_source_profile = {
.name = "hdp-source",
.remote_uuid = HDP_SOURCE_UUID,
+ .local_uuid = HDP_SINK_UUID,
.device_probe = hdp_driver_probe,
.device_remove = hdp_driver_remove,
@@ -82,6 +83,7 @@ static struct btd_profile hdp_source_profile = {
static struct btd_profile hdp_sink_profile = {
.name = "hdp-sink",
.remote_uuid = HDP_SINK_UUID,
+ .local_uuid = HDP_SOURCE_UUID,
.device_probe = hdp_driver_probe,
.device_remove = hdp_driver_remove,