]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add hci_cmd_sync function
authorLoic Poulain <loic.poulain@intel.com>
Tue, 29 Sep 2015 13:05:44 +0000 (15:05 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 29 Sep 2015 13:16:11 +0000 (15:16 +0200)
commitf334963a539bacd9bc0e2dc649dc8cb0d8863ee0
tree9438808c0c9d42566a84c082401f94cdbd629b6f
parent09638aa0e41d2246b46ebe68d3f71c5cc3142599
Bluetooth: Add hci_cmd_sync function

Send a HCI command and wait for command complete event.
This function serializes the requests by grabbing the req_lock.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c