linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vikrampal Yadav <vikram.pal@samsung.com>
To: linux-bluetooth@vger.kernel.org
Cc: luiz.dentz@gmail.com, d.kasatkin@samsung.com,
	vikram.pal@samsung.com, cpgs@samsung.com
Subject: [PATCH] monitor: Fix indentation for AVRCP PASS THROUGH commands
Date: Thu, 09 Oct 2014 17:43:47 +0530	[thread overview]
Message-ID: <1412856827-3799-1-git-send-email-vikram.pal@samsung.com> (raw)

Intendation for AVRCP PASS THROUGH commands' decoding fixed.
---
 monitor/avctp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/monitor/avctp.c b/monitor/avctp.c
index a4e34c5..4abd18f 100644
--- a/monitor/avctp.c
+++ b/monitor/avctp.c
@@ -686,13 +686,13 @@ static bool avrcp_passthrough_packet(struct avctp_frame *avctp_frame,
 	if (!l2cap_frame_get_u8(frame, &op))
 		return false;
 
-	print_field("%*cOperation: 0x%02x (%s %s)", (indent - 2), ' ', op,
+	print_field("%*cOperation: 0x%02x (%s %s)", (indent - 8), ' ', op,
 				op2str(op), op & 0x80 ? "Released" : "Pressed");
 
 	if (!l2cap_frame_get_u8(frame, &len))
 		return false;
 
-	print_field("%*cLength: 0x%02x", (indent - 2), ' ', len);
+	print_field("%*cLength: 0x%02x", (indent - 8), ' ', len);
 
 	packet_hexdump(frame->data, frame->size);
 	return true;
-- 
1.9.1


             reply	other threads:[~2014-10-09 12:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09 12:13 Vikrampal Yadav [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-15 13:41 [PATCH] monitor: Fix indentation for AVRCP PASS THROUGH commands Vikrampal Yadav
2014-10-15 13:45 ` Luiz Augusto von Dentz
2014-10-15 14:09   ` Vikrampal
2014-10-09 11:57 [PATCH] Monitor: " Vikrampal Yadav
2014-10-09 11:58 ` Luiz Augusto von Dentz
2014-10-09 12:59   ` Vikrampal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1412856827-3799-1-git-send-email-vikram.pal@samsung.com \
    --to=vikram.pal@samsung.com \
    --cc=cpgs@samsung.com \
    --cc=d.kasatkin@samsung.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).