profiles: Add missing local_uuid
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 7 Feb 2014 13:56:22 +0000 (15:56 +0200)
committerMikko Ylinen <mikko.ylinen@intel.com>
Tue, 23 Sep 2014 18:29:21 +0000 (21:29 +0300)
profiles/audio/a2dp.c
profiles/audio/avrcp.c
profiles/health/hdp_manager.c

index 25f0965..14b5285 100644 (file)
@@ -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,
 
index 7ef7200..dce000f 100644 (file)
@@ -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,
 
index e83edd5..95ee7ac 100644 (file)
@@ -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,