Message ID | 20220711155349.kernel.v1.1.Ia489394ab4176efa5a39ce8d08bb4c4b7bee23b9@changeid |
---|---|
State | Accepted |
Commit | 0cc323d985f97d5fd9a4217c536585a65dae4888 |
Headers | show |
Series | This patch fixes a previous patch which did not remove setting | 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=658707 ---Test result--- Test Summary: CheckPatch PASS 1.37 seconds GitLint FAIL 0.91 seconds SubjectPrefix PASS 0.62 seconds BuildKernel PASS 33.12 seconds BuildKernel32 PASS 28.93 seconds Incremental Build with patchesPASS 39.50 seconds TestRunner: Setup PASS 487.99 seconds TestRunner: l2cap-tester PASS 16.99 seconds TestRunner: bnep-tester PASS 5.85 seconds TestRunner: mgmt-tester PASS 99.27 seconds TestRunner: rfcomm-tester PASS 9.02 seconds TestRunner: sco-tester PASS 9.19 seconds TestRunner: smp-tester PASS 9.19 seconds TestRunner: userchan-tester PASS 6.15 seconds Details ############################## Test: GitLint - FAIL - 0.91 seconds Run gitlint with rule in .gitlint [kernel,v1,1/1] Bluetooth: hci_sync: Fix resuming passive scan after suspend resume 1: T1 Title exceeds max length (83>80): "[kernel,v1,1/1] Bluetooth: hci_sync: Fix resuming passive scan after suspend resume" --- Regards, Linux Bluetooth
diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index 7cb3100518799..212b0cdb25f5e 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -5063,13 +5063,13 @@ static int hci_resume_scan_sync(struct hci_dev *hdev) if (!hdev->scanning_paused) return 0; + hdev->scanning_paused = false; + hci_update_scan_sync(hdev); /* Reset passive scanning to normal */ hci_update_passive_scan_sync(hdev); - hdev->scanning_paused = false; - return 0; } @@ -5088,7 +5088,6 @@ int hci_resume_sync(struct hci_dev *hdev) return 0; hdev->suspended = false; - hdev->scanning_paused = false; /* Restore event mask */ hci_set_event_mask_sync(hdev);