From bb197be7ae85a0f0c3c47159f71e874aa4392cd3 Mon Sep 17 00:00:00 2001 From: "Gustavo F. Padovan" Date: Sun, 9 Aug 2009 05:41:08 -0300 Subject: [PATCH] hcidump: Add support to show RFC option for ERTM and Streaming Mode --- tools/parser/l2cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/parser/l2cap.c b/tools/parser/l2cap.c index 264961469..ee206143c 100644 --- a/tools/parser/l2cap.c +++ b/tools/parser/l2cap.c @@ -432,7 +432,7 @@ static void conf_rfc(void *ptr, int len, int in, uint16_t cid) set_mode(in, cid, mode); printf("RFC 0x%02x (%s", mode, mode2str(mode)); - if (mode == 0x01 || mode == 0x02) { + if (mode >= 0x01 && mode <= 0x04) { uint8_t txwin, maxtrans; uint16_t rto, mto, mps; txwin = *((uint8_t *) (ptr + 1)); -- 2.47.3