summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-11-11 06:11:25 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2015-11-19 16:50:30 (GMT)
commita1d01db1202ee6795c0a665b43896293ad4e2a77 (patch)
tree6819b41eac718e063be46d8dee6aa860486f2b20 /include/net/bluetooth/hci_core.h
parent591752afbcc8179979296698cae698541d2e5431 (diff)
downloadlinux-a1d01db1202ee6795c0a665b43896293ad4e2a77.tar.xz
Bluetooth: Add error return value to hci_req_sync callback
In some circumstances it may be useful to abort the request through checks done in the request callback. To make the feature possible this patch changes the return value of the request callback from void to int and aborts the request if a non-zero value is returned. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
0 files changed, 0 insertions, 0 deletions