From 2005d3d7687dec234f6bea0f778d81a1e424da12 Mon Sep 17 00:00:00 2001 From: Wu Zheng Date: Tue, 21 Jan 2014 04:50:33 -0500 Subject: [PATCH] Bluetooth-Frwk: modify the error audio UUID connection/disconnection Normally, mobile/ivi will conn/discon headset/headfree device. headset/headfree should be sink role. Therefore, audio sink UUID is used to conn/discon. Change-Id: I5393140f7bb23d61af57900e4647ec3b1a99451d Signed-off-by: Wu Zheng --- bt-service/bt-service-audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bt-service/bt-service-audio.c b/bt-service/bt-service-audio.c index f65b4ec..994e4a7 100644 --- a/bt-service/bt-service-audio.c +++ b/bt-service/bt-service-audio.c @@ -424,7 +424,7 @@ int _bt_audio_connect(int request_id, int type, uuid = HFP_HS_UUID; break; case BT_AUDIO_A2DP: - uuid = A2DP_SOURCE_UUID; + uuid = A2DP_SINK_UUID; break; case BT_AUDIO_ALL: uuid = GENERIC_AUDIO_UUID; @@ -534,7 +534,7 @@ int _bt_audio_disconnect(int request_id, int type, uuid = HFP_HS_UUID; break; case BT_AUDIO_A2DP: - uuid = A2DP_SOURCE_UUID; + uuid = A2DP_SINK_UUID; break; case BT_AUDIO_ALL: uuid = GENERIC_AUDIO_UUID; -- 2.7.4