2012-04-05 05:41:09

by Joohi RASTOGI

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

From: Joohi Rastogi <[email protected]>

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

diff --git a/audio/avctp.c b/audio/avctp.c
index 009b94c..91a7886 100644
--- a/audio/avctp.c
+++ b/audio/avctp.c
@@ -271,7 +271,7 @@ static size_t handle_unit_info(struct avctp *session,

DBG("reply to AVC_OP_UNITINFO");

- return 0;
+ return operand_count;
}

static size_t handle_subunit_info(struct avctp *session,
--
1.7.5.4



2012-04-05 09:52:58

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] AVRCP: Fixed response length for Unit 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_01_I
> ---
> audio/avctp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/audio/avctp.c b/audio/avctp.c
> index 009b94c..91a7886 100644
> --- a/audio/avctp.c
> +++ b/audio/avctp.c
> @@ -271,7 +271,7 @@ static size_t handle_unit_info(struct avctp *session,
>
> DBG("reply to AVC_OP_UNITINFO");
>
> - return 0;
> + return operand_count;
> }
>
> static size_t handle_subunit_info(struct avctp *session,

Applied. Thanks.

Johan