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>2014-04-10 14:15:10 +0000
commitc84393d9ea2b940718b19c6a82fc90cc8bf880fb (patch)
treee225b42c13c980a9dcf0406ac7d45372a0d9ba56
parent16eebd6af82414928c4b98d860f61e1860a80ed0 (diff)
downloadbluez-c84393d9ea2b940718b19c6a82fc90cc8bf880fb.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 25f09659e..14b528511 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -2034,6 +2034,8 @@ static struct btd_profile a2dp_source_profile = {
.version = 0x0103,
.remote_uuid = A2DP_SOURCE_UUID,
+ .local_uuid = A2DP_SINK_UUID,
+
.device_probe = a2dp_source_probe,
.device_remove = a2dp_source_remove,
@@ -2051,6 +2053,8 @@ static struct btd_profile a2dp_sink_profile = {
.version = 0x0103,
.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 7ef720039..dce000fd6 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -3857,6 +3857,8 @@ static struct btd_profile avrcp_target_profile = {
.version = 0x0105,
.remote_uuid = AVRCP_TARGET_UUID,
+ .local_uuid = AVRCP_REMOTE_UUID,
+
.device_probe = avrcp_target_probe,
.device_remove = avrcp_target_remove,
@@ -3941,6 +3943,8 @@ static struct btd_profile avrcp_controller_profile = {
.version = 0x0104,
.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 e83edd550..95ee7ac99 100644
--- a/profiles/health/hdp_manager.c
+++ b/profiles/health/hdp_manager.c
@@ -73,6 +73,7 @@ static struct btd_profile hdp_source_profile = {
.version = 0x0100,
.remote_uuid = HDP_SOURCE_UUID,
+ .local_uuid = HDP_SINK_UUID,
.device_probe = hdp_driver_probe,
.device_remove = hdp_driver_remove,
@@ -86,6 +87,7 @@ static struct btd_profile hdp_sink_profile = {
.version = 0x0100,
.remote_uuid = HDP_SINK_UUID,
+ .local_uuid = HDP_SOURCE_UUID,
.device_probe = hdp_driver_probe,
.device_remove = hdp_driver_remove,