Bluetooth: Fix length for Read Local OOB Extended Data respone packet
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Mar 2015 23:05:44 +0000 (16:05 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Mar 2015 06:16:45 +0000 (08:16 +0200)
commit5425f98e863ac5e4798a186475d4a8d95a2c08e8
tree2a8a3dfa3dce00c17d58028f348770d01bb80bbb
parent5082a59965d4f13245658b2927b6c021f17ed88e
Bluetooth: Fix length for Read Local OOB Extended Data respone packet

The length of the respone packet for Read Local OOB Extended Data
command has a calculation error. In case LE Secure Connections support
is not enabled, the actual response is shorter. Keep this in mind and
update the value accordingly.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c