commit | 57b0d3e8e7d570b693a1a253c637308130134a23 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Sat Mar 28 15:18:59 2015 -0700 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Sun Mar 29 07:57:02 2015 +0300 |
tree | cd39fcfc4c0a97434e2b680bbdc09b89ee9b4a68 | |
parent | efcd8c98e0d195c09fd9141a7af32dd83e62a5cb [diff] |
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>