All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] client: Fix settingof advertisement interval
@ 2022-05-20 23:41 Inga Stotland
  2022-05-21  2:42 ` [BlueZ] " bluez.test.bot
  2022-05-23 20:50 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Inga Stotland @ 2022-05-20 23:41 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: luiz.von.dentz, Inga Stotland

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


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

* RE: [BlueZ] client: Fix settingof advertisement interval
  2022-05-20 23:41 [PATCH BlueZ] client: Fix settingof advertisement interval Inga Stotland
@ 2022-05-21  2:42 ` bluez.test.bot
  2022-05-23 20:50 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2022-05-21  2:42 UTC (permalink / raw)
  To: linux-bluetooth, inga.stotland

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


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

* Re: [PATCH BlueZ] client: Fix settingof advertisement interval
  2022-05-20 23:41 [PATCH BlueZ] client: Fix settingof advertisement interval Inga Stotland
  2022-05-21  2:42 ` [BlueZ] " bluez.test.bot
@ 2022-05-23 20:50 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2022-05-23 20:50 UTC (permalink / raw)
  To: Inga Stotland; +Cc: linux-bluetooth, luiz.von.dentz

Hello:

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

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



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

end of thread, other threads:[~2022-05-23 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 23:41 [PATCH BlueZ] client: Fix settingof advertisement interval Inga Stotland
2022-05-21  2:42 ` [BlueZ] " bluez.test.bot
2022-05-23 20:50 ` [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.