2022-05-21 14:01:09

by Stotland, Inga

[permalink] [raw]
Subject: [PATCH BlueZ] client: Fix settingof advertisement interval

This fixes incorrect argument read when using "interval" command
in "advertisement" submenu
---
client/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/main.c b/client/main.c
index ccbfc620b..1df94f000 100644
--- a/client/main.c
+++ b/client/main.c
@@ -2768,7 +2768,7 @@ static void cmd_advertise_interval(int argc, char *argv[])
max = min;

if (argc > 2) {
- max = strtol(argv[1], &endptr, 0);
+ max = strtol(argv[2], &endptr, 0);
if (!endptr || *endptr != '\0' || max < 20 || max > 10485) {
bt_shell_printf("Invalid argument\n");
return bt_shell_noninteractive_quit(EXIT_FAILURE);
--
2.35.3



2022-05-23 07:48:06

by bluez.test.bot

[permalink] [raw]
Subject: RE: [BlueZ] client: Fix settingof advertisement interval

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=643797

---Test result---

Test Summary:
CheckPatch PASS 1.08 seconds
GitLint PASS 0.74 seconds
Prep - Setup ELL PASS 42.95 seconds
Build - Prep PASS 0.64 seconds
Build - Configure PASS 8.42 seconds
Build - Make PASS 1388.92 seconds
Make Check PASS 11.32 seconds
Make Check w/Valgrind PASS 432.13 seconds
Make Distcheck PASS 212.52 seconds
Build w/ext ELL - Configure PASS 8.00 seconds
Build w/ext ELL - Make PASS 1287.78 seconds
Incremental Build with patchesPASS 0.00 seconds



---
Regards,
Linux Bluetooth

2022-05-23 21:17:03

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH BlueZ] client: Fix settingof advertisement interval

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <[email protected]>:

On Fri, 20 May 2022 16:41:51 -0700 you wrote:
> This fixes incorrect argument read when using "interval" command
> in "advertisement" submenu
> ---
> client/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [BlueZ] client: Fix settingof advertisement interval
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=79fe529d6485

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