2012-04-05 05:58:08

by Joohi RASTOGI

[permalink] [raw]
Subject: [PATCH] AVRCP: Fixed response length for Subunit Info command

From: Joohi Rastogi <[email protected]>

This affect PTS Test Case TC_TG_ICC_BV_02_I
---
audio/avctp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/audio/avctp.c b/audio/avctp.c
index 009b94c..d8f740a 100644
--- a/audio/avctp.c
+++ b/audio/avctp.c
@@ -295,7 +295,7 @@ static size_t handle_subunit_info(struct avctp *session,

DBG("reply to AVC_OP_SUBUNITINFO");

- return 0;
+ return operand_count;
}

static struct avctp_pdu_handler *find_handler(GSList *list, uint8_t opcode)
--
1.7.5.4



2012-04-05 09:53:12

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] AVRCP: Fixed response length for Subunit Info command

Hi Joohi,

On Thu, Apr 05, 2012, [email protected] wrote:
> From: Joohi Rastogi <[email protected]>
>
> This affect PTS Test Case TC_TG_ICC_BV_02_I
> ---
> audio/avctp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/audio/avctp.c b/audio/avctp.c
> index 009b94c..d8f740a 100644
> --- a/audio/avctp.c
> +++ b/audio/avctp.c
> @@ -295,7 +295,7 @@ static size_t handle_subunit_info(struct avctp *session,
>
> DBG("reply to AVC_OP_SUBUNITINFO");
>
> - return 0;
> + return operand_count;
> }
>
> static struct avctp_pdu_handler *find_handler(GSList *list, uint8_t opcode)

Applied. Thanks.

Johan