OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a8313a
)
audio/AVCTP: Use A/V_RemoteControl UUID for incoming connections
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 18 Nov 2013 13:42:14 +0000
(15:42 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 18 Nov 2013 14:27:14 +0000
(16:27 +0200)
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
profiles/audio/avctp.c
patch
|
blob
|
history
diff --git
a/profiles/audio/avctp.c
b/profiles/audio/avctp.c
index
dac7a66
..
476f61a
100644
(file)
--- 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;