summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-11-18 15:42:14 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-11-18 16:27:14 +0200
commit9ee7b3dd69e93a94d82e4aa94c7ef41640f5f7e6 (patch)
tree54ad5943e87309dd6d5c4178dc52663a336f82fb /profiles
parent5a8313a473619e46e64e1014a046b89596552720 (diff)
audio/AVCTP: Use A/V_RemoteControl UUID for incoming connections
By the time and incoming connection arrives it is not possible to determine the role, so this changes the UUID to A/V_RemoteControl which according to assigned number page bellow is the profile UUID for AVRCP: https://www.bluetooth.org/en-us/specification/assigned-numbers/service-discovery
Diffstat (limited to 'profiles')
-rw-r--r--profiles/audio/avctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index dac7a66c5..476f61ac1 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -1311,7 +1311,7 @@ static void avctp_control_confirm(struct avctp *session, GIOChannel *chan,
dst = device_get_address(dev);
session->auth_id = btd_request_authorization(src, dst,
- AVRCP_TARGET_UUID,
+ AVRCP_REMOTE_UUID,
auth_cb, session);
if (session->auth_id == 0)
goto drop;