From: Marcel Holtmann Date: Sat, 28 Mar 2015 22:18:59 +0000 (-0700) Subject: Bluetooth: Fix error returns for Read Local OOB Extended Data commands X-Git-Tag: omap-for-v4.2/o2_dc~131^2~69^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b0d3e8e7d570b693a1a253c637308130134a23;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed