]> 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)
commitef178435401ddab0d5e0dbc1cce4dd113a98061f
tree4a1d3a89a9d736b27d68266f3056f94ed5078fd0
parent85c5b5d4cc5ed34de6570e06f73c160f349b4a3a
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