]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix SMP user passkey notification mgmt event
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Mar 2014 12:14:53 +0000 (14:14 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Mar 2014 20:55:06 +0000 (13:55 -0700)
commitf19f57fc75d1612dd6ebd7b3e631e174bca5e754
tree45d12bac249e36219b6c533dae85e78090208aad
parent1fc9171ab4a2929e79c1f9a02f149997132e9d57
Bluetooth: Fix SMP user passkey notification mgmt event

When performing SMP pairing with MITM protection one side needs to
enter the passkey while the other side displays to the user what needs
to be entered. Nowhere in the SMP specification does it say that the
displaying side needs to any kind of confirmation of the passkey, even
though a code comment in smp.c implies this.

This patch removes the misleading comment and converts the code to use
the passkey notification mgmt event instead of the passkey confirmation
mgmt event.

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