From: "Gustavo F. Padovan" <gustavo@padovan.org>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH 2/2] Show P-bit in the l2cap parser
Date: Mon, 12 Jul 2010 13:55:50 -0300 [thread overview]
Message-ID: <1278953750-18646-2-git-send-email-gustavo@padovan.org> (raw)
In-Reply-To: <1278953750-18646-1-git-send-email-gustavo@padovan.org>
---
parser/l2cap.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/parser/l2cap.c b/parser/l2cap.c
index 174cd3a..ee869dc 100644
--- a/parser/l2cap.c
+++ b/parser/l2cap.c
@@ -848,6 +848,8 @@ static void l2cap_parse(int level, struct frame *frm)
printf(" ReqSeq %d", (ctrl & 0x3f00) >> 8);
if (ctrl & 0x80)
printf(" F-bit");
+ if (ctrl & 0x10)
+ printf(" P-bit");
printf("\n");
}
}
--
1.7.1
next prev parent reply other threads:[~2010-07-12 16:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-12 16:55 [PATCH 1/2] Show F-bit instead of Retransmission Disable Gustavo F. Padovan
2010-07-12 16:55 ` Gustavo F. Padovan [this message]
2010-07-12 17:04 ` [PATCH 2/2] Show P-bit in the l2cap parser Johan Hedberg
2010-07-12 17:04 ` [PATCH 1/2] Show F-bit instead of Retransmission Disable Johan Hedberg
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=1278953750-18646-2-git-send-email-gustavo@padovan.org \
--to=gustavo@padovan.org \
--cc=linux-bluetooth@vger.kernel.org \
/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