public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] AVRCP: Fixed response length for Unit Info command
@ 2012-04-05  5:41 joohi.rastogi
  2012-04-05  9:52 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: joohi.rastogi @ 2012-04-05  5:41 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_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


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

end of thread, other threads:[~2012-04-05  9:52 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:41 [PATCH] AVRCP: Fixed response length for Unit Info command joohi.rastogi
2012-04-05  9:52 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox