]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:54:11 +0000 (19:54 -0600)
commit2059cce13361210da01e38d61c15bdac11fd2313
tree9846f88a92428db0c9b7b187f5043a8c13919d19
parent01bbc2b2a41cdd9f59622e39a1e40a9becaaef1a
Bluetooth: SMP: Fix trying to use non-existent local OOB data

BugLink: https://bugs.launchpad.net/bugs/1836426
[ Upstream commit 94f14e4728125f979629b2b020d31cd718191626 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
net/bluetooth/smp.c