]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Fix verifying confirm value when lacking remote OOB data
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Mar 2015 09:45:46 +0000 (11:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Mar 2015 16:16:46 +0000 (17:16 +0100)
commit94ea7257ef24a007cb0e26476ed8871f179a749f
tree66f5df07c3110b7cec8fa347c8411e24af2cc8d6
parent58428563b5ea19c2ac8b6aca8073e48539023b26
Bluetooth: Fix verifying confirm value when lacking remote OOB data

If we haven't received remote OOB data we cannot perform any special
checks on the confirm value. This patch updates the check after having
received the public key to only perform the verification if we have
remote OOB data present.

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