summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-28 15:18:59 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-29 07:57:02 +0300
commit57b0d3e8e7d570b693a1a253c637308130134a23 (patch)
treecd39fcfc4c0a97434e2b680bbdc09b89ee9b4a68 /net/bluetooth/hci_event.c
parentefcd8c98e0d195c09fd9141a7af32dd83e62a5cb (diff)
downloadop-kernel-dev-57b0d3e8e7d570b693a1a253c637308130134a23.zip
op-kernel-dev-57b0d3e8e7d570b693a1a253c637308130134a23.tar.gz
Bluetooth: Fix error returns for Read Local OOB Extended Data commands
The Read Local OOB Extended Data commands are required to return the address type and the data length at least. However currently the error returns only the address type. To fix this and avoid any extra allocations or stack memory, rearrange the code so that the same path can be used for error returns. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud