projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c689b
)
audio/avrcp: Fix ctype code of PlayItem and AddToNowPlaying
58/53758/1
author
Bharat Panda
<bharat.panda@samsung.com>
Wed, 9 Dec 2015 07:05:21 +0000
(12:35 +0530)
committer
Bharat Panda
<bharat.panda@samsung.com>
Wed, 9 Dec 2015 07:05:21 +0000
(12:35 +0530)
Both playItem and AddtoNowPlaying should use control type not status.
As per specification this has to be changed to control type to PASS
PTS test cases.
git repo link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=
6e7700c0022996c28d6f72ca550e54e2b02f71bd
Change-Id: I03cb14c225bfbea1ba0c808de4bd838e7204eed0
profiles/audio/avrcp.c
patch
|
blob
|
history
diff --git
a/profiles/audio/avrcp.c
b/profiles/audio/avrcp.c
index
058fc00
..
80c1ff2
100644
(file)
--- a/
profiles/audio/avrcp.c
+++ b/
profiles/audio/avrcp.c
@@
-3064,7
+3064,7
@@
static void avrcp_play_item(struct avrcp *session, uint64_t uid)
length = AVRCP_HEADER_LENGTH + ntohs(pdu->params_len);
- avctp_send_vendordep_req(session->conn, AVC_CTYPE_
STATUS
,
+ avctp_send_vendordep_req(session->conn, AVC_CTYPE_
CONTROL
,
AVC_SUBUNIT_PANEL, buf, length,
NULL, session);
}
@@
-3110,7
+3110,7
@@
static void avrcp_add_to_nowplaying(struct avrcp *session, uint64_t uid)
length = AVRCP_HEADER_LENGTH + ntohs(pdu->params_len);
- avctp_send_vendordep_req(session->conn, AVC_CTYPE_
STATUS
,
+ avctp_send_vendordep_req(session->conn, AVC_CTYPE_
CONTROL
,
AVC_SUBUNIT_PANEL, buf, length,
NULL, session);
}