diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-11-11 08:11:25 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-11-19 17:50:30 +0100 |
commit | a1d01db1202ee6795c0a665b43896293ad4e2a77 (patch) | |
tree | 6819b41eac718e063be46d8dee6aa860486f2b20 /drivers/iio | |
parent | 591752afbcc8179979296698cae698541d2e5431 (diff) | |
download | talos-op-linux-a1d01db1202ee6795c0a665b43896293ad4e2a77.tar.gz talos-op-linux-a1d01db1202ee6795c0a665b43896293ad4e2a77.zip |
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 'drivers/iio')
0 files changed, 0 insertions, 0 deletions