* [PATCH BlueZ 0/1] src/adapter: Check if device is connected before clean up
@ 2024-06-17 7:59 Vlad Pruteanu
2024-06-17 7:59 ` [PATCH BlueZ 1/1] " Vlad Pruteanu
2024-06-17 14:00 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
0 siblings, 2 replies; 4+ messages in thread
From: Vlad Pruteanu @ 2024-06-17 7:59 UTC (permalink / raw)
To: linux-bluetooth
Cc: mihai-octavian.urzica, silviu.barbulescu, iulia.tanasescu,
andrei.istodorescu, luiz.dentz, Vlad Pruteanu
Broadcast sources are currently deleted on the clean up triggered
by turning scan off. Thix fix prevents the removal of sources to
which we are synced by also checking if the device that will be
removed is connected (sources to which we are synced are already
marked as connected).
Vlad Pruteanu (1):
src/adapter: Check if device is connected before clean up
src/adapter.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.40.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH BlueZ 1/1] src/adapter: Check if device is connected before clean up
2024-06-17 7:59 [PATCH BlueZ 0/1] src/adapter: Check if device is connected before clean up Vlad Pruteanu
@ 2024-06-17 7:59 ` Vlad Pruteanu
2024-06-17 9:44 ` bluez.test.bot
2024-06-17 14:00 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
1 sibling, 1 reply; 4+ messages in thread
From: Vlad Pruteanu @ 2024-06-17 7:59 UTC (permalink / raw)
To: linux-bluetooth
Cc: mihai-octavian.urzica, silviu.barbulescu, iulia.tanasescu,
andrei.istodorescu, luiz.dentz, Vlad Pruteanu
Broadcast sources are currently deleted on the clean up triggered
by turning scan off. Thix fix prevents the removal of sources to
which we are synced by also checking if the device that will be
removed is connected (sources to which we are synced are already
marked as connected).
---
src/adapter.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/adapter.c b/src/adapter.c
index 821d94592..bdc5bf920 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1730,7 +1730,8 @@ static void discovery_cleanup(struct btd_adapter *adapter, int timeout)
next = g_slist_next(l);
- if (device_is_temporary(dev) && !device_is_connectable(dev))
+ if (device_is_temporary(dev) && !device_is_connectable(dev)
+ && !btd_device_is_connected(dev))
btd_adapter_remove_device(adapter, dev);
}
}
--
2.40.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: src/adapter: Check if device is connected before clean up
2024-06-17 7:59 ` [PATCH BlueZ 1/1] " Vlad Pruteanu
@ 2024-06-17 9:44 ` bluez.test.bot
0 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2024-06-17 9:44 UTC (permalink / raw)
To: linux-bluetooth, vlad.pruteanu
[-- 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=862501
---Test result---
Test Summary:
CheckPatch PASS 0.27 seconds
GitLint PASS 0.20 seconds
BuildEll PASS 24.35 seconds
BluezMake PASS 1735.49 seconds
MakeCheck PASS 12.98 seconds
MakeDistcheck PASS 184.47 seconds
CheckValgrind PASS 250.09 seconds
CheckSmatch PASS 351.15 seconds
bluezmakeextell PASS 118.87 seconds
IncrementalBuild PASS 1436.67 seconds
ScanBuild PASS 975.58 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH BlueZ 0/1] src/adapter: Check if device is connected before clean up
2024-06-17 7:59 [PATCH BlueZ 0/1] src/adapter: Check if device is connected before clean up Vlad Pruteanu
2024-06-17 7:59 ` [PATCH BlueZ 1/1] " Vlad Pruteanu
@ 2024-06-17 14:00 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+bluetooth @ 2024-06-17 14:00 UTC (permalink / raw)
To: Vlad Pruteanu
Cc: linux-bluetooth, mihai-octavian.urzica, silviu.barbulescu,
iulia.tanasescu, andrei.istodorescu, luiz.dentz
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Mon, 17 Jun 2024 10:59:33 +0300 you wrote:
> Broadcast sources are currently deleted on the clean up triggered
> by turning scan off. Thix fix prevents the removal of sources to
> which we are synced by also checking if the device that will be
> removed is connected (sources to which we are synced are already
> marked as connected).
>
> Vlad Pruteanu (1):
> src/adapter: Check if device is connected before clean up
>
> [...]
Here is the summary with links:
- [BlueZ,1/1] src/adapter: Check if device is connected before clean up
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=7ff745c2bd0c
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] 4+ messages in thread
end of thread, other threads:[~2024-06-17 14:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 7:59 [PATCH BlueZ 0/1] src/adapter: Check if device is connected before clean up Vlad Pruteanu
2024-06-17 7:59 ` [PATCH BlueZ 1/1] " Vlad Pruteanu
2024-06-17 9:44 ` bluez.test.bot
2024-06-17 14:00 ` [PATCH BlueZ 0/1] " 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.