Bluetooth: Allow remote OOB data to only provide P-192 or P-256 values
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 31 Jan 2015 08:37:02 +0000 (00:37 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 31 Jan 2015 20:26:14 +0000 (21:26 +0100)
commit41bcfd50d52c83d43fe75fba7938a592dcb6589b
tree199360b3cdfe33f1d17770dba545f6c60d44b41c
parent4775a4ea14d3e15645336e4b0f1355e526c57956
Bluetooth: Allow remote OOB data to only provide P-192 or P-256 values

In case the remote only provided P-192 or P-256 data for OOB pairing,
then make sure that the data value pointers are correctly set. That way
the core can provide correct information when remote OOB data present
information have to be communicated.

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