Bluetooth: hci_sync: Convert MGMT_OP_SET_DISCOVERABLE to use cmd_sync
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 12 Nov 2021 00:48:42 +0000 (16:48 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 16 Nov 2021 14:13:34 +0000 (15:13 +0100)
commit2bd1b237616bd91a3f4f0cd94dc53cd6cba7aff9
tree3e73c89431298803de89c946d4931fd1e954c919
parentbe6c5ba2b00a24883162aae90a59429441b97619
Bluetooth: hci_sync: Convert MGMT_OP_SET_DISCOVERABLE to use cmd_sync

This makes MGMT_OP_SET_DISCOVERABLE use hci_cmd_sync_queue instead of
use a dedicated discoverable_update work.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/hci_sync.h
net/bluetooth/hci_request.c
net/bluetooth/hci_sync.c
net/bluetooth/mgmt.c