History

Bluetooth: hci_sync: Introduce __hci_reset_sync() for device drivers

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.

Zijun Hu committed 4 months ago

Commit faeaddd1 parent 01f9b342 files · +9 −0Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/net/bluetooth/hci_sync.h+1−0
@@ -59,6 +59,7 @@ int __hci_cmd_sync_status(struct hci_dev *hdev, u16 opcode, u32 plen, · 58 unmodified lines
5959 int __hci_cmd_sync_status_sk(struct hci_dev *hdev, u16 opcode, u32 plen,
6060 const void *param, u8 event, u32 timeout,
6161 struct sock *sk);
62+int __hci_reset_sync(struct hci_dev *hdev);
6263 int hci_cmd_sync_status(struct hci_dev *hdev, u16 opcode, u32 plen,
6364 const void *param, u32 timeout);
6465

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t