mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
3244845c63
commit
d0b137062b
3 changed files with 1657 additions and 1206 deletions
|
@ -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 sk_buff *hci_read_local_oob_data_sync(struct hci_dev *hdev, bool ext,
|
||||||
struct sock *sk);
|
struct sock *sk);
|
||||||
|
|
||||||
|
int hci_reset_sync(struct hci_dev *hdev);
|
||||||
int hci_dev_open_sync(struct hci_dev *hdev);
|
int hci_dev_open_sync(struct hci_dev *hdev);
|
||||||
int hci_dev_close_sync(struct hci_dev *hdev);
|
int hci_dev_close_sync(struct hci_dev *hdev);
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue