Message ID | 20250325172846.139431-2-ludovico.denittis@collabora.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Fix wake_allowed reported error and not being set after pairing | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/BuildEll | success | Build ELL PASS |
tedd_an/BluezMake | success | Bluez Make PASS |
tedd_an/MakeCheck | success | Bluez Make Check PASS |
tedd_an/MakeDistcheck | success | Make Distcheck PASS |
tedd_an/CheckValgrind | success | Check Valgrind PASS |
tedd_an/CheckSmatch | success | CheckSparse PASS |
tedd_an/bluezmakeextell | success | Make External ELL PASS |
tedd_an/ScanBuild | success | Scan Build PASS |
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=947245 ---Test result--- Test Summary: CheckPatch PENDING 0.24 seconds GitLint PENDING 0.22 seconds BuildEll PASS 20.76 seconds BluezMake PASS 1503.05 seconds MakeCheck PASS 13.63 seconds MakeDistcheck PASS 171.29 seconds CheckValgrind PASS 225.50 seconds CheckSmatch PASS 307.78 seconds bluezmakeextell PASS 98.94 seconds IncrementalBuild PENDING 0.32 seconds ScanBuild PASS 876.53 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
diff --git a/src/adapter.c b/src/adapter.c index 5d4117a49..d4e42eed8 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -5630,8 +5630,11 @@ static void add_device_complete(uint8_t status, uint16_t length, if (btd_opts.device_privacy) { uint32_t flags = btd_device_get_current_flags(dev); - /* Set Device Privacy Mode has not set the flag yet. */ + /* Set Device Privacy Mode if it has not set the flag yet. */ if (!(flags & DEVICE_FLAG_DEVICE_PRIVACY)) { + /* Include the pending flags, or they may get overwritten. */ + flags |= btd_device_get_pending_flags(dev); + adapter_set_device_flags(adapter, dev, flags | DEVICE_FLAG_DEVICE_PRIVACY, set_device_privacy_complete,