summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_sync.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-10-27 16:58:59 -0700
committerMarcel Holtmann <marcel@holtmann.org>2021-10-29 16:52:00 +0200
commitd0b137062b2de75b264b84143d21c98abc5f5ad2 (patch)
tree3be426b9b764be3e205fde6dfded1caadeb11110 /include/net/bluetooth/hci_sync.h
parent3244845c6307fa6f4fa2eabe5259d2c93c837dce (diff)
downloadlinux-d0b137062b2de75b264b84143d21c98abc5f5ad2.tar.bz2
Bluetooth: hci_sync: Rework init stages
This moves the init stages to use the hci_sync infra and in addition to that have the stages as function tables so it is easier to change the command sequence. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_sync.h')
-rw-r--r--include/net/bluetooth/hci_sync.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_sync.h b/include/net/bluetooth/hci_sync.h
index db96546d40c8..487e4981cce1 100644
--- a/include/net/bluetooth/hci_sync.h
+++ b/include/net/bluetooth/hci_sync.h
@@ -83,6 +83,7 @@ int hci_remove_ext_adv_instance_sync(struct hci_dev *hdev, u8 instance,
struct sk_buff *hci_read_local_oob_data_sync(struct hci_dev *hdev, bool ext,
struct sock *sk);
+int hci_reset_sync(struct hci_dev *hdev);
int hci_dev_open_sync(struct hci_dev *hdev);
int hci_dev_close_sync(struct hci_dev *hdev);