]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: SMP: Fix trying to use non-existent local OOB data
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 11 Sep 2018 11:10:12 +0000 (14:10 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 11 Sep 2018 11:33:57 +0000 (13:33 +0200)
commit4161c59578762e3e174aa06991e857b67726d0a0
tree4a1d3a89a9d736b27d68266f3056f94ed5078fd0
parent47872dacd67920ef1737a100335455b6d80d9d22
Bluetooth: SMP: Fix trying to use non-existent local OOB data

A remote device may claim that it has received our OOB data, even
though we never geneated it. Add a new flag to track whether we
actually have OOB data, and ignore the remote peer's flag if haven't
generated OOB data.

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