• Johan Hedberg's avatar
    Bluetooth: Fix SMP user passkey notification mgmt event · 01ad34d2
    Johan Hedberg authored
    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: default avatarJohan Hedberg <johan.hedberg@intel.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    01ad34d2
smp.c 32.7 KB