All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] set: Fix not attempt to connect devices with RSI
@ 2023-04-03 20:32 Luiz Augusto von Dentz
  2023-04-03 21:46 ` [BlueZ] " bluez.test.bot
  2023-04-05 19:50 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2023-04-03 20:32 UTC (permalink / raw)
  To: linux-bluetooth

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

If a device advertising with RSI is only found later after the set was
already create we shall still attempt to connect to it.
---
 src/set.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/set.c b/src/set.c
index f1008a057f90..ad64fb163b25 100644
--- a/src/set.c
+++ b/src/set.c
@@ -317,7 +317,8 @@ struct btd_device_set *btd_set_add_device(struct btd_device *device,
 	set = set_find(device, sirk);
 	if (set) {
 		set_add(set, device);
-		return set;
+		/* Check if there are new devices with RSI found */
+		goto done;
 	}
 
 	set = set_new(device, sirk, size);
@@ -329,6 +330,7 @@ struct btd_device_set *btd_set_add_device(struct btd_device *device,
 
 	queue_push_tail(set_list, set);
 
+done:
 	/* Attempt to add devices which have matching RSI */
 	btd_adapter_for_each_device(device_get_adapter(device), foreach_device,
 									set);
-- 
2.39.2


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

* RE: [BlueZ] set: Fix not attempt to connect devices with RSI
  2023-04-03 20:32 [PATCH BlueZ] set: Fix not attempt to connect devices with RSI Luiz Augusto von Dentz
@ 2023-04-03 21:46 ` bluez.test.bot
  2023-04-05 19:50 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2023-04-03 21:46 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 948 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=736551

---Test result---

Test Summary:
CheckPatch                    PASS      0.45 seconds
GitLint                       PASS      0.31 seconds
BuildEll                      PASS      32.36 seconds
BluezMake                     PASS      1010.84 seconds
MakeCheck                     PASS      12.63 seconds
MakeDistcheck                 PASS      180.25 seconds
CheckValgrind                 PASS      297.27 seconds
CheckSmatch                   PASS      400.86 seconds
bluezmakeextell               PASS      119.21 seconds
IncrementalBuild              PASS      831.70 seconds
ScanBuild                     PASS      1249.51 seconds



---
Regards,
Linux Bluetooth


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

* Re: [PATCH BlueZ] set: Fix not attempt to connect devices with RSI
  2023-04-03 20:32 [PATCH BlueZ] set: Fix not attempt to connect devices with RSI Luiz Augusto von Dentz
  2023-04-03 21:46 ` [BlueZ] " bluez.test.bot
@ 2023-04-05 19:50 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2023-04-05 19:50 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 Mon,  3 Apr 2023 13:32:43 -0700 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> If a device advertising with RSI is only found later after the set was
> already create we shall still attempt to connect to it.
> ---
>  src/set.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Here is the summary with links:
  - [BlueZ] set: Fix not attempt to connect devices with RSI
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=7aee0b67ba9f

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:[~2023-04-05 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-03 20:32 [PATCH BlueZ] set: Fix not attempt to connect devices with RSI Luiz Augusto von Dentz
2023-04-03 21:46 ` [BlueZ] " bluez.test.bot
2023-04-05 19: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.