linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] AVRCP: Fixed response length for Subunit Info command
@ 2012-04-05  5:58 joohi.rastogi
  2012-04-05  9:53 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: joohi.rastogi @ 2012-04-05  5:58 UTC (permalink / raw)
  To: User Name; +Cc: User Name2

From: Joohi Rastogi <joohi.rastogi@stericsson.com>

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] AVRCP: Fixed response length for Subunit Info command
  2012-04-05  5:58 [PATCH] AVRCP: Fixed response length for Subunit Info command joohi.rastogi
@ 2012-04-05  9:53 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-04-05  9:53 UTC (permalink / raw)
  To: joohi.rastogi; +Cc: User Name

Hi Joohi,

On Thu, Apr 05, 2012, joohi.rastogi@stericsson.com wrote:
> From: Joohi Rastogi <joohi.rastogi@stericsson.com>
> 
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-05  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05  5:58 [PATCH] AVRCP: Fixed response length for Subunit Info command joohi.rastogi
2012-04-05  9:53 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).