OSDN Git Service

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)
commit0ef08313cefdd60d7be1e21c405f8f8e544d8ee9
tree3467de7f6e20d7cdaad6fa8bab066750ef2dcafc
parentbb87672562f871edd7a220222dd2480a87294580
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