* [PATCH] Bluetooth: hci_sync: Fix not indicating power state @ 2022-09-30 20:19 Luiz Augusto von Dentz 2022-09-30 21:13 ` bluez.test.bot 2022-10-01 0:40 ` [PATCH] " patchwork-bot+bluetooth 0 siblings, 2 replies; 3+ messages in thread From: Luiz Augusto von Dentz @ 2022-09-30 20:19 UTC (permalink / raw) To: linux-bluetooth From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> When setting power state using legacy/non-mgmt API (e.g hcitool hci0 up) the likes of mgmt_set_powered_complete won't be called causing clients of the MGMT API to not be notified of the change of the state. Fixes: cf75ad8b41d2 ("Bluetooth: hci_sync: Convert MGMT_SET_POWERED") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> --- net/bluetooth/hci_sync.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index 15c75ef4c271..76c3107c9f91 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -4676,6 +4676,7 @@ int hci_dev_open_sync(struct hci_dev *hdev) hci_dev_test_flag(hdev, HCI_MGMT) && hdev->dev_type == HCI_PRIMARY) { ret = hci_powered_update_sync(hdev); + mgmt_power_on(hdev, ret); } } else { /* Init failed, cleanup */ -- 2.37.3 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: Bluetooth: hci_sync: Fix not indicating power state 2022-09-30 20:19 [PATCH] Bluetooth: hci_sync: Fix not indicating power state Luiz Augusto von Dentz @ 2022-09-30 21:13 ` bluez.test.bot 2022-10-01 0:40 ` [PATCH] " patchwork-bot+bluetooth 1 sibling, 0 replies; 3+ messages in thread From: bluez.test.bot @ 2022-09-30 21:13 UTC (permalink / raw) To: linux-bluetooth, luiz.dentz [-- Attachment #1: Type: text/plain, Size: 1204 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=682381 ---Test result--- Test Summary: CheckPatch PASS 1.58 seconds GitLint PASS 0.74 seconds SubjectPrefix PASS 0.66 seconds BuildKernel PASS 33.38 seconds BuildKernel32 PASS 29.42 seconds Incremental Build with patchesPASS 42.04 seconds TestRunner: Setup PASS 501.62 seconds TestRunner: l2cap-tester PASS 16.92 seconds TestRunner: iso-tester PASS 15.39 seconds TestRunner: bnep-tester PASS 6.08 seconds TestRunner: mgmt-tester PASS 99.46 seconds TestRunner: rfcomm-tester PASS 9.76 seconds TestRunner: sco-tester PASS 9.14 seconds TestRunner: ioctl-tester PASS 10.29 seconds TestRunner: smp-tester PASS 9.22 seconds TestRunner: userchan-tester PASS 6.38 seconds --- Regards, Linux Bluetooth ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Bluetooth: hci_sync: Fix not indicating power state 2022-09-30 20:19 [PATCH] Bluetooth: hci_sync: Fix not indicating power state Luiz Augusto von Dentz 2022-09-30 21:13 ` bluez.test.bot @ 2022-10-01 0:40 ` patchwork-bot+bluetooth 1 sibling, 0 replies; 3+ messages in thread From: patchwork-bot+bluetooth @ 2022-10-01 0:40 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, 30 Sep 2022 13:19:20 -0700 you wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > When setting power state using legacy/non-mgmt API > (e.g hcitool hci0 up) the likes of mgmt_set_powered_complete won't be > called causing clients of the MGMT API to not be notified of the change > of the state. > > [...] Here is the summary with links: - Bluetooth: hci_sync: Fix not indicating power state https://git.kernel.org/bluetooth/bluetooth-next/c/6abf0dae8c3c 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:[~2022-10-01 0:40 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-09-30 20:19 [PATCH] Bluetooth: hci_sync: Fix not indicating power state Luiz Augusto von Dentz 2022-09-30 21:13 ` bluez.test.bot 2022-10-01 0:40 ` [PATCH] " 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).