Skip to content

Commit d0b1370

Browse files
Vudentzholtmann
authored andcommitted
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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 3244845 commit d0b1370

File tree

3 files changed

+1854
-1403
lines changed

3 files changed

+1854
-1403
lines changed

include/net/bluetooth/hci_sync.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ int hci_remove_ext_adv_instance_sync(struct hci_dev *hdev, u8 instance,
8383
struct sk_buff *hci_read_local_oob_data_sync(struct hci_dev *hdev, bool ext,
8484
struct sock *sk);
8585

86+
int hci_reset_sync(struct hci_dev *hdev);
8687
int hci_dev_open_sync(struct hci_dev *hdev);
8788
int hci_dev_close_sync(struct hci_dev *hdev);
8889

0 commit comments

Comments
 (0)