From 6e7700c0022996c28d6f72ca550e54e2b02f71bd Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 12 Oct 2015 12:15:49 +0300 Subject: [PATCH] audio/avrcp: Fix ctype code of PlayItem and AddToNowPlaying Both PlayItem and AddToNowPlaying should use control type not status. --- profiles/audio/avrcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index 44f892962..7b6001241 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -3030,7 +3030,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); } @@ -3076,7 +3076,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); } -- 2.47.3