]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_sync: Fix not indicating power state
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 30 Sep 2022 20:12:30 +0000 (13:12 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 1 Oct 2022 00:32:12 +0000 (17:32 -0700)
commit40b82adc579c9f979bbe6c82716a00a620b9061a
treea808e91002969ccae10d1088c87ab1ed8a8bbbe0
parent858d8ee7c10df5b10ee0bcf59ade3740e8783e21
Bluetooth: hci_sync: Fix not indicating power state

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: a686732c5e3d ("Bluetooth: hci_sync: Convert MGMT_SET_POWERED")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Tedd Ho-Jeong An <tedd.an@intel.com>
net/bluetooth/hci_sync.c