aboutsummaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2013-03-27 19:04:56 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-04 04:12:33 -0400
commit3e13fa1e1fab479940728272b6425d343e0c0f84 (patch)
tree1d4557f4d37cb982a95aec9456cf9c57e7500fa3 /lib/locking-selftest-rlock.h
parent33720450bb811a0cec1f0147bf8a1801113fa94d (diff)
Bluetooth: Fix hci_inquiry ioctl usage
Since the HCI request framework was properly fixed, the hci_req_sync call, in hci_inquiry, will return as soon as the HCI command completes (not the Inquiry procedure). However, in inquiry ioctl implementation, we want to sleep the user process until the inquiry procedure finishes. This patch changes hci_inquiry so, in case the HCI Inquiry command was executed successfully, it waits the HCI_INQUIRY flag to be cleared. This way, the user process will sleep until the inquiry procedure finishes. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions