Message ID | 20250416155503.250763-1-frederic.danis@collabora.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ,1/2] device: Reset svc_resolved on device_discover_services() request | expand |
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=954076 ---Test result--- Test Summary: CheckPatch PENDING 0.32 seconds GitLint PENDING 0.36 seconds BuildEll PASS 21.65 seconds BluezMake PASS 2640.54 seconds MakeCheck PASS 20.53 seconds MakeDistcheck PASS 199.25 seconds CheckValgrind PASS 276.84 seconds CheckSmatch PASS 311.95 seconds bluezmakeextell PASS 132.45 seconds IncrementalBuild PENDING 0.42 seconds ScanBuild PASS 945.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
diff --git a/src/device.c b/src/device.c index 097b1fbba..ee9216a8e 100644 --- a/src/device.c +++ b/src/device.c @@ -5989,10 +5989,13 @@ int device_discover_services(struct btd_device *device) { int err; - if (device->bredr) + if (device->bredr) { + device->bredr_state.svc_resolved = FALSE; err = device_browse_sdp(device, NULL); - else + } else { + device->le_state.svc_resolved = FALSE; err = device_browse_gatt(device, NULL); + } if (err == 0 && device->discov_timer) { timeout_remove(device->discov_timer);