diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-03-05 19:37:46 +0100 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-03-08 14:40:26 +0100 |
commit | 71c76a170e979d60e01bd093c9b79e3adeb710cc (patch) | |
tree | cf213b5b1565f383bef766576a5dd001f75bb437 /lib | |
parent | Bluetooth: Refactor HCI command skb creation (diff) | |
download | linux-71c76a170e979d60e01bd093c9b79e3adeb710cc.tar.xz linux-71c76a170e979d60e01bd093c9b79e3adeb710cc.zip |
Bluetooth: Introduce new hci_req_add function
This function is analogous to hci_send_cmd() but instead of directly
queuing the command to hdev->cmd_q it adds it to the local queue of the
asynchronous HCI request being build (inside struct hci_request).
This is the main function used for building asynchronous requests and
there should be one or more calls to it between calls to hci_req_init
and hci_req_run.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions