Bluetooth: Clear P-192 values for OOB when in Secure Connections Only mode
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 00:04:31 +0000 (16:04 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 20:26:20 +0000 (21:26 +0100)
commit6665d057fba3376351346abe7bd1ebcaafc48a34
tree82ce214d009d40eae1a49065f2d885323a15a0de
parentd25b78e2ed60ea33dc1008d0f50b3410b73212a0
Bluetooth: Clear P-192 values for OOB when in Secure Connections Only mode

When Secure Connections Only mode has been enabled and remote OOB data
is requested, then only provide P-256 hash and randomizer vaulues. The
fields for P-192 hash and randomizer should be set to zero.

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