summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-02-07 15:56:22 +0200
committerMikko Ylinen <mikko.ylinen@intel.com>2014-09-23 21:29:21 +0300
commit87d8b5fb7ff65c57b270bbce7e7df77b734d6899 (patch)
treec7c101ea6426c9125052b7832bfd924970936411
parent017ceeaa17d26be60dd28776c423b513736cbc13 (diff)
downloadbluez-87d8b5fb7ff65c57b270bbce7e7df77b734d6899.tar.gz
bluez-87d8b5fb7ff65c57b270bbce7e7df77b734d6899.tar.bz2
bluez-87d8b5fb7ff65c57b270bbce7e7df77b734d6899.zip
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 25f09659..14b52851 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 7ef72003..dce000fd 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 e83edd55..95ee7ac9 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,