Skip to content

Commit

Permalink
Bluetooth: hci_sync: Rework init stages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vudentz authored and holtmann committed Oct 29, 2021
1 parent 3244845 commit d0b1370
Show file tree
Hide file tree
Showing 3 changed files with 1,854 additions and 1,403 deletions.
1 change: 1 addition & 0 deletions include/net/bluetooth/hci_sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Loading

0 comments on commit d0b1370

Please sign in to comment.