* [PATCH bluez v2] adapter: Prepend the new added device to the adapter devices list
@ 2025-02-26 1:52 Ye He via B4 Relay
2025-02-26 3:30 ` [bluez,v2] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Ye He via B4 Relay @ 2025-02-26 1:52 UTC (permalink / raw)
To: Linux Bluetooth; +Cc: Ye He, ye.he
From: Ye He <ye.he@amlogic.com>
When the DUT is paired with a mobile phone using RPA multiple times,
multiple device contexts with the same bdaddr will be cached.
When we query the device context through bdaddr, we always get the
context at the head of adapter->devices, but its status is inactive.
https://github.com/bluez/bluez/issues/1095
Signed-off-by: Ye He <ye.he@amlogic.com>
---
Signed-off-by: ye.he <ye.he@amlogic.com>
---
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://patch.msgid.link/20250225-leaudio-no-media-v1-1-6da9454067d3@amlogic.com
---
src/adapter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/adapter.c b/src/adapter.c
index 2bb94cf1673e85710abf1e619fdeee9c9fa0f087..d675f0b1575a21bc345cbdb003411cf188fdd314 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -5243,7 +5243,7 @@ void device_resolved_drivers(struct btd_adapter *adapter,
static void adapter_add_device(struct btd_adapter *adapter,
struct btd_device *device)
{
- adapter->devices = g_slist_append(adapter->devices, device);
+ adapter->devices = g_slist_prepend(adapter->devices, device);
device_added_drivers(adapter, device);
}
---
base-commit: 0845b8f6ef2ac004b1c953cf4fe4ca3458cd8e36
change-id: 20250225-leaudio-no-media-634423086ea4
Best regards,
--
Ye He <ye.he@amlogic.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [bluez,v2] adapter: Prepend the new added device to the adapter devices list
2025-02-26 1:52 [PATCH bluez v2] adapter: Prepend the new added device to the adapter devices list Ye He via B4 Relay
@ 2025-02-26 3:30 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2025-02-26 3:30 UTC (permalink / raw)
To: linux-bluetooth, devnull+ye.he.amlogic.com
[-- Attachment #1: Type: text/plain, Size: 1260 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=937802
---Test result---
Test Summary:
CheckPatch PENDING 0.26 seconds
GitLint PENDING 0.30 seconds
BuildEll PASS 20.24 seconds
BluezMake PASS 1438.04 seconds
MakeCheck PASS 12.84 seconds
MakeDistcheck PASS 158.69 seconds
CheckValgrind PASS 213.86 seconds
CheckSmatch PASS 285.58 seconds
bluezmakeextell PASS 98.17 seconds
IncrementalBuild PENDING 0.30 seconds
ScanBuild PASS 865.63 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-26 3:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26 1:52 [PATCH bluez v2] adapter: Prepend the new added device to the adapter devices list Ye He via B4 Relay
2025-02-26 3:30 ` [bluez,v2] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox