audio/avrcp: Fix ctype code of PlayItem and AddToNowPlaying

Both PlayItem and AddToNowPlaying should use control type not status.
This commit is contained in:
Luiz Augusto von Dentz 2015-10-12 12:15:49 +03:00
parent 91c01e0ae9
commit 6e7700c002

View File

@ -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);
}