Message ID | 20200528101408.98400-1-michal.narajowski@codecoup.pl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [BlueZ] monitor: Fix for incorrect len in L2CAP Enhanced Connection Req | expand |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. While we are preparing for reviewing the patches, we found the following issue/warning. Test Result: checkgitlint Failed Outputs: 3: B6 Body message is missing --- Regards, Linux Bluetooth
diff --git a/monitor/l2cap.c b/monitor/l2cap.c index 41c766863..e571dbb61 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -1344,7 +1344,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));