Several vendor drivers have a requirement to send a synchronous raw HCI reset with HCI_INIT_TIMEOUT. Add a dedicated __hci_reset_sync() for them to use.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -59,6 +59,7 @@ int __hci_cmd_sync_status(struct hci_dev *hdev, u16 opcode, u32 plen, · 58 unmodified lines | ||
| 59 | 59 | int __hci_cmd_sync_status_sk(struct hci_dev *hdev, u16 opcode, u32 plen, |
| 60 | 60 | const void *param, u8 event, u32 timeout, |
| 61 | 61 | struct sock *sk); |
| 62 | +int __hci_reset_sync(struct hci_dev *hdev); | |
| 62 | 63 | int hci_cmd_sync_status(struct hci_dev *hdev, u16 opcode, u32 plen, |
| 63 | 64 | const void *param, u32 timeout); |
| 64 | 65 | |