From 2d392db690639a9304a33aa6b32808ec2e8bce7d Mon Sep 17 00:00:00 2001 From: Joohi Rastogi Date: Thu, 5 Apr 2012 11:11:09 +0530 Subject: [PATCH] AVRCP: Fix response length for Unit Info command This affect PTS Test Case TC_TG_ICC_BV_01_I --- audio/avctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/avctp.c b/audio/avctp.c index 009b94c13..91a788698 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, -- 2.47.3