Bluetooth: Set the correct security level for SC LTKs
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 23 May 2014 10:36:10 +0000 (13:36 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:15 +0000 (16:51 +0100)
commit8f5eeca321b4a618550a0c4c2d3da935aa7073b0
tree3c276feb422fe2cf030b5ab06115a518a6ae4afd
parent23fb8de376181a30c35195351ec6230167098b48
Bluetooth: Set the correct security level for SC LTKs

When the looked-up LTK is one generated by Secure Connections pairing
the security level it gives is BT_SECURITY_FIPS. This patch updates the
LTK request event handler to correctly set this level.

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