]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Convert delayed discov_off to hci_sync
authorBrian Gix <brian.gix@intel.com>
Thu, 21 Jul 2022 23:22:25 +0000 (16:22 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 19:55:59 +0000 (12:55 -0700)
commit7f1161fee9f617e09edce1043deb6f12fc034381
tree3467de7f6e20d7cdaad6fa8bab066750ef2dcafc
parent9dca40124ff5a34ea57f5c30eec0e169dfe9ae40
Bluetooth: Convert delayed discov_off to hci_sync

The timed ending of Discoverability was handled in hci_requst.c, with
calls using the deprecated hci_req_add() mechanism. Converted to live
inside mgmt.c using the same delayed work queue, but with hci_sync
version of hci_update_discoverable().

Signed-off-by: Brian Gix <brian.gix@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_request.c
net/bluetooth/mgmt.c