All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] btmon: Fix decoding of Enhanced Credit Connection Request
@ 2022-04-20 23:46 Luiz Augusto von Dentz
  2022-04-21  3:03 ` [BlueZ] " bluez.test.bot
  2022-04-22 20:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2022-04-20 23:46 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This fixes the decoding of Enhanced Credit Connection Request which was
not accounting the fields correctly causing 2 extra Source CID to be
printed.
---
 monitor/l2cap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index 4e449854a..01825ce0a 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));
-- 
2.35.1


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

* RE: [BlueZ] btmon: Fix decoding of Enhanced Credit Connection Request
  2022-04-20 23:46 [PATCH BlueZ] btmon: Fix decoding of Enhanced Credit Connection Request Luiz Augusto von Dentz
@ 2022-04-21  3:03 ` bluez.test.bot
  2022-04-22 20:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2022-04-21  3:03 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 995 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.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=633945

---Test result---

Test Summary:
CheckPatch                    PASS      1.44 seconds
GitLint                       PASS      0.98 seconds
Prep - Setup ELL              PASS      42.20 seconds
Build - Prep                  PASS      0.71 seconds
Build - Configure             PASS      8.42 seconds
Build - Make                  PASS      1245.43 seconds
Make Check                    PASS      12.15 seconds
Make Check w/Valgrind         PASS      437.69 seconds
Make Distcheck                PASS      225.55 seconds
Build w/ext ELL - Configure   PASS      8.50 seconds
Build w/ext ELL - Make        PASS      1234.97 seconds
Incremental Build with patchesPASS      0.00 seconds



---
Regards,
Linux Bluetooth


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

* Re: [PATCH BlueZ] btmon: Fix decoding of Enhanced Credit Connection Request
  2022-04-20 23:46 [PATCH BlueZ] btmon: Fix decoding of Enhanced Credit Connection Request Luiz Augusto von Dentz
  2022-04-21  3:03 ` [BlueZ] " bluez.test.bot
@ 2022-04-22 20:10 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2022-04-22 20:10 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed, 20 Apr 2022 16:46:09 -0700 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> This fixes the decoding of Enhanced Credit Connection Request which was
> not accounting the fields correctly causing 2 extra Source CID to be
> printed.
> ---
>  monitor/l2cap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [BlueZ] btmon: Fix decoding of Enhanced Credit Connection Request
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=3e2ad5009c0f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2022-04-22 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 23:46 [PATCH BlueZ] btmon: Fix decoding of Enhanced Credit Connection Request Luiz Augusto von Dentz
2022-04-21  3:03 ` [BlueZ] " bluez.test.bot
2022-04-22 20:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.