summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-02-07 15:56:22 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-01-28 14:01:07 +0200
commita380ab60e2ea8f93b6c05da9ade399fc828345a7 (patch)
treec583258c0699243c680c0190e9a9c843e0ffb902
parente4246e5fc2a3a9a2b5d5e226795a4b191397efb4 (diff)
downloadbluez-a380ab60e2ea8f93b6c05da9ade399fc828345a7.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 04e49bb41..a88a0ca08 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -2430,6 +2430,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,
@@ -2447,6 +2449,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 1d0348ce2..5101d227a 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -4325,6 +4325,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,
@@ -4409,6 +4411,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 c66c6b6a1..06007aedd 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,