mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-16 23:45:37 +08:00
audio/avrcp: Fix ctype code of PlayItem and AddToNowPlaying
Both PlayItem and AddToNowPlaying should use control type not status.
This commit is contained in:
parent
91c01e0ae9
commit
6e7700c002
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user