Bluetooth: Track authentication method in SMP context
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 31 May 2014 15:48:26 +0000 (18:48 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:18 +0000 (16:51 +0100)
commit783e057462d514441fbd371bbb398cf886fe3376
tree20f08adfd2078be6f11a0a8e90aa8aa436dd6d89
parent6a77083af57f2dc515a01c8ec82610ab0e7baa59
Bluetooth: Track authentication method in SMP context

For Secure Connections we'll select the authentication method as soon as
we receive the public key, but only use it later (both when actually
triggering the method as well as when determining the quality of the
resulting LTK). Store the method therefore in the SMP context.

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