mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 21:24:16 +08:00
Show number of operands in packet
This commit is contained in:
parent
0a428df5df
commit
723ff52c61
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user