summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-10-22 14:59:22 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-10-22 14:59:22 +0000
commit723ff52c61b23cfaac0293b9d5a206f8df94396e (patch)
treeccc007ff5d27498c8cfec334421ed5f812a39895 /audio
parent0a428df5dffc20af827516422589465e654fd044 (diff)
Show number of operands in packet
Diffstat (limited to 'audio')
-rw-r--r--audio/control.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/control.c b/audio/control.c
index ae853fe8..c61a79dd 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -386,9 +386,10 @@ static gboolean session_cb(GIOChannel *chan, GIOCondition cond,
avrcp = (struct avrcp_header *) (buf + sizeof(struct avctp_header));
debug("AVRCP %s 0x%01X, subunit_type 0x%02X, subunit_id 0x%01X, "
- "opcode 0x%02X", avctp->cr ? "response" : "command",
+ "opcode 0x%02X, %d operands",
+ avctp->cr ? "response" : "command",
avrcp->code, avrcp->subunit_type, avrcp->subunit_id,
- avrcp->opcode);
+ avrcp->opcode, ret - sizeof(struct avctp_header));
return TRUE;