Re: [PATCH BlueZ] audio/avrcp: Fix ctype code of PlayItem and AddToNowPlaying

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Oct 12, 2015 at 12:28 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
>
> 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

Applied.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux