Diff between f7a30bacbeea3bfa19af67b8942aced292efc7e4 and 29efa2d0c143e687b7db7597661e1a9a771613a7
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 ea248b6..01d621c 100644
--- a/tools/parser/l2cap.c
+++ b/tools/parser/l2cap.c
@@ -319,7 +319,7 @@ static inline void info_req(int level, l2cap_cmd_hdr *cmd, struct frame *frm)
static inline void info_rsp(int level, l2cap_cmd_hdr *cmd, struct frame *frm)
{
l2cap_info_rsp *h = frm->ptr;
- int ilen = btohs(cmd->len) - L2CAP_INFO_REQ_SIZE;
+ int ilen = btohs(cmd->len) - L2CAP_INFO_RSP_SIZE;
if (p_filter(FILT_L2CAP))
return;