Diff between c535623a713c340031daf56d0798829644a92532 and 3e2ad5009c0fb2c8a7b3a04438ad1e449c764dcc
Changed Files
| File | Additions | Deletions | Status |
| monitor/l2cap.c | +1 | -1 | modified |
Full Patch
diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index 4e44985..01825ce 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -1331,7 +1331,7 @@ static void sig_ecred_conn_req(const struct l2cap_frame *frame)
const struct bt_l2cap_pdu_ecred_conn_req *pdu = frame->data;
uint16_t scid;
- l2cap_frame_pull((void *)frame, frame, sizeof(pdu));
+ l2cap_frame_pull((void *)frame, frame, sizeof(*pdu));
print_psm(pdu->psm);
print_field("MTU: %u", le16_to_cpu(pdu->mtu));