Diff between 30f6d3d759de40e637d19eba1547e8fd29711c90 and bb197be7ae85a0f0c3c47159f71e874aa4392cd3
Changed Files
| File | Additions | Deletions | Status |
| tools/parser/l2cap.c | +1 | -1 | modified |
Full Patch
diff --git a/tools/parser/l2cap.c b/tools/parser/l2cap.c
index 2649614..ee20614 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));