Return-Path: From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ] audio/avrcp: Fix ctype code of PlayItem and AddToNowPlaying Date: Mon, 12 Oct 2015 12:28:52 +0300 Message-Id: <1444642132-19224-1-git-send-email-luiz.dentz@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Luiz Augusto von Dentz 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 44f8929..7b60012 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.4.3