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