]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix OOB data present value for SMP pairing
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 31 Jan 2015 08:15:52 +0000 (00:15 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 31 Jan 2015 20:26:14 +0000 (21:26 +0100)
commit161a7815dc14126b7e59cc1818f37909c2ce1ee0
tree41ecd4f3bae7e86133cdf5ee7098b9342b1ac4f1
parentd01cb1dbb47db5a60dc3f2af4164583a915d7fd5
Bluetooth: Fix OOB data present value for SMP pairing

Before setting the OOB data present flag with SMP pairing, check the
newly introduced present tracking that actual OOB data values have
been provided. The existence of remote OOB data structure does not
actually mean that the correct data values are available.

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