]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff1945c5e7eed959464138659bc6b2ac16753a91
tree82ce214d009d40eae1a49065f2d885323a15a0de
parent5ff4a1e30aad91adc1467c9cece41c7116e03dfe
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