From 3ad3dd338f33c28c1f056aed381214eb2bb5ea38 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Fri, 31 Jan 2014 14:36:17 +0200 Subject: [PATCH] avrcp: Fix printing order for browsing avrcp header --- profiles/audio/avrcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index 3a1d8b09c..443b61c26 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -1730,7 +1730,7 @@ static size_t handle_browsing_pdu(struct avctp *conn, struct avrcp_browsing_header *pdu = (void *) operands; DBG("AVRCP Browsing PDU 0x%02X, len 0x%04X", pdu->pdu_id, - pdu->param_len); + ntohs(pdu->param_len)); for (handler = browsing_handlers; handler->pdu_id; handler++) { if (handler->pdu_id == pdu->pdu_id) -- 2.47.3