summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2018-04-26 07:13:26 -0400
committerMarcel Holtmann <marcel@holtmann.org>2018-05-18 00:37:52 -0400
commitd6ee6ad774a986d4faaa794a0980e7c50ed359c6 (patch)
treeaf9db18d67dbbc4c8d7188ea26d641d70189e9c8 /include/net/bluetooth
parentd36dfb3e9b990b45bb812fd144b19737649a69ba (diff)
Bluetooth: Add __hci_cmd_send function
This function allows to send a HCI command without expecting any controller event/response in return. This is allowed for vendor- specific commands only. Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index b619a190ff12..893bbbb5d2fa 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1393,6 +1393,8 @@ struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen,
1393 const void *param, u32 timeout); 1393 const void *param, u32 timeout);
1394struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, 1394struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen,
1395 const void *param, u8 event, u32 timeout); 1395 const void *param, u8 event, u32 timeout);
1396int __hci_cmd_send(struct hci_dev *hdev, u16 opcode, u32 plen,
1397 const void *param);
1396 1398
1397int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, 1399int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen,
1398 const void *param); 1400 const void *param);