[PATCH] AVRCP: Fixed response length for Subunit Info command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Joohi Rastogi <joohi.rastogi@xxxxxxxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux