Re: [PATCH 2/2] Show P-bit in the l2cap parser

Johan Hedberg
2010-07-12T17:04:55Z

Hi Gustavo,

On Mon, Jul 12, 2010, Gustavo F. Padovan wrote:
> ---
> 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");
> }
> }

This one is upstream now too. Thanks.

Johan