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)
commit01ad34d267475ac3387d7ab803a2225b392dae91
tree45d12bac249e36219b6c533dae85e78090208aad
parent5ed884d765a240593c721711eb9e6d24ceba5e8b
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
This page took 0.02836 seconds and 5 git commands to generate.