* [PATCH v1] Bluetooth: hci_sync: Fix hci_resume_advertising_sync
@ 2025-09-05 14:33 Luiz Augusto von Dentz
2025-09-05 14:59 ` [v1] " bluez.test.bot
2025-09-08 21:10 ` [PATCH v1] " patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2025-09-05 14:33 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
hci_resume_advertising_sync is suppose to resume all instance paused by
hci_pause_advertising_sync, this logic is used for procedures are only
allowed when not advertising, but instance 0x00 was not being
re-enabled.
Fixes: ad383c2c65a5 ("Bluetooth: hci_sync: Enable advertising when LL privacy is enabled")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
net/bluetooth/hci_sync.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index 39d0d7b9949c..ea835e36565e 100644
--- a/net/bluetooth/hci_sync.c
+++ b/net/bluetooth/hci_sync.c
@@ -2594,6 +2594,13 @@ static int hci_resume_advertising_sync(struct hci_dev *hdev)
hci_remove_ext_adv_instance_sync(hdev, adv->instance,
NULL);
}
+
+ /* If current advertising instance is set to instance 0x00
+ * then we need to re-enable it.
+ */
+ if (!hdev->cur_adv_instance)
+ err = hci_enable_ext_advertising_sync(hdev,
+ hdev->cur_adv_instance);
} else {
/* Schedule for most recent instance to be restarted and begin
* the software rotation loop
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [v1] Bluetooth: hci_sync: Fix hci_resume_advertising_sync
2025-09-05 14:33 [PATCH v1] Bluetooth: hci_sync: Fix hci_resume_advertising_sync Luiz Augusto von Dentz
@ 2025-09-05 14:59 ` bluez.test.bot
2025-09-08 21:10 ` [PATCH v1] " patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-09-05 14:59 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 2376 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=999381
---Test result---
Test Summary:
CheckPatch PENDING 0.37 seconds
GitLint PENDING 0.24 seconds
SubjectPrefix PASS 0.12 seconds
BuildKernel PASS 24.46 seconds
CheckAllWarning PASS 27.43 seconds
CheckSparse PASS 30.67 seconds
BuildKernel32 PASS 24.76 seconds
TestRunnerSetup PASS 483.63 seconds
TestRunner_l2cap-tester PASS 25.04 seconds
TestRunner_iso-tester PASS 39.23 seconds
TestRunner_bnep-tester PASS 6.09 seconds
TestRunner_mgmt-tester FAIL 124.46 seconds
TestRunner_rfcomm-tester PASS 9.44 seconds
TestRunner_sco-tester PASS 14.84 seconds
TestRunner_ioctl-tester PASS 10.08 seconds
TestRunner_mesh-tester FAIL 11.48 seconds
TestRunner_smp-tester PASS 8.58 seconds
TestRunner_userchan-tester PASS 6.32 seconds
IncrementalBuild PENDING 1.04 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 484 (98.8%), Failed: 2, Not Run: 4
Failed Test Cases
Read Exp Feature - Success Failed 0.106 seconds
LL Privacy - Set Flags 2 (Enable RL) Failed 0.165 seconds
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner
Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0
Failed Test Cases
Mesh - Send cancel - 1 Timed out 2.023 seconds
Mesh - Send cancel - 2 Timed out 1.997 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] Bluetooth: hci_sync: Fix hci_resume_advertising_sync
2025-09-05 14:33 [PATCH v1] Bluetooth: hci_sync: Fix hci_resume_advertising_sync Luiz Augusto von Dentz
2025-09-05 14:59 ` [v1] " bluez.test.bot
@ 2025-09-08 21:10 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-09-08 21:10 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Fri, 5 Sep 2025 10:33:41 -0400 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> hci_resume_advertising_sync is suppose to resume all instance paused by
> hci_pause_advertising_sync, this logic is used for procedures are only
> allowed when not advertising, but instance 0x00 was not being
> re-enabled.
>
> [...]
Here is the summary with links:
- [v1] Bluetooth: hci_sync: Fix hci_resume_advertising_sync
https://git.kernel.org/bluetooth/bluetooth-next/c/a0a2dcf8479f
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] 3+ messages in thread
end of thread, other threads:[~2025-09-08 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 14:33 [PATCH v1] Bluetooth: hci_sync: Fix hci_resume_advertising_sync Luiz Augusto von Dentz
2025-09-05 14:59 ` [v1] " bluez.test.bot
2025-09-08 21:10 ` [PATCH v1] " patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).