From a380ab60e2ea8f93b6c05da9ade399fc828345a7 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 7 Feb 2014 15:56:22 +0200 Subject: profiles: Add missing local_uuid --- profiles/audio/a2dp.c | 4 ++++ profiles/audio/avrcp.c | 4 ++++ profiles/health/hdp_manager.c | 2 ++ 3 files changed, 10 insertions(+) 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, -- cgit v1.2.1