diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-03-29 01:18:59 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-03-29 07:57:02 +0300 |
commit | 57b0d3e8e7d570b693a1a253c637308130134a23 (patch) | |
tree | cd39fcfc4c0a97434e2b680bbdc09b89ee9b4a68 /net/bluetooth/hci_event.c | |
parent | efcd8c98e0d195c09fd9141a7af32dd83e62a5cb (diff) | |
download | linux-57b0d3e8e7d570b693a1a253c637308130134a23.tar.xz |
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