diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-03 21:54:47 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-04 19:16:10 +0300 |
commit | 7b1abbbed0f2a1bc19bb8c0d48a284466043092a (patch) | |
tree | 2f79924c7a5dc4c128a9a8c45fa4671c062a0efe /drivers/bluetooth/btusb.c | |
parent | 02350a725f5bc44490c30a10e7e04a12a5ecd406 (diff) | |
download | op-kernel-dev-7b1abbbed0f2a1bc19bb8c0d48a284466043092a.zip op-kernel-dev-7b1abbbed0f2a1bc19bb8c0d48a284466043092a.tar.gz |
Bluetooth: Add __hci_cmd_sync_ev function
This patch adds a __hci_cmd_sync_ev function, analogous to
__hci_cmd_sync except that it also takes an event parameter to indicate
that the command completes with a special event instead of command
complete. Internally this new function takes advantage of the
hci_req_add_ev function introduced in the previous patch.
The primary expected user of this new function are the setup routines of
HCI drivers which may want to send custom commands and return only when
they have completed.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions