linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] monitor: Fix for incorrect len in L2CAP Enhanced Connection Req
@ 2020-05-28 10:14 Michał Narajowski
  2020-05-28 10:36 ` [BlueZ] " bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Narajowski @ 2020-05-28 10:14 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Michał Narajowski

---
 monitor/l2cap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [BlueZ] monitor: Fix for incorrect len in L2CAP Enhanced Connection Req
  2020-05-28 10:14 [PATCH BlueZ] monitor: Fix for incorrect len in L2CAP Enhanced Connection Req Michał Narajowski
@ 2020-05-28 10:36 ` bluez.test.bot
  0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2020-05-28 10:36 UTC (permalink / raw)
  To: linux-bluetooth, michal.narajowski

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-28 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 10:14 [PATCH BlueZ] monitor: Fix for incorrect len in L2CAP Enhanced Connection Req Michał Narajowski
2020-05-28 10:36 ` [BlueZ] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).