]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Use actual encryption key size for SMP over BR/EDR
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 11 Jun 2015 10:52:30 +0000 (13:52 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2015 09:38:45 +0000 (11:38 +0200)
commite3f6a257a73d03799918a79529632f2df2b4d668
tree081b2c492ead6b031aca92c4e3e59f2d0f85bba6
parent821f37666815c9f3a7a4d195ce9184ad4d084942
Bluetooth: Use actual encryption key size for SMP over BR/EDR

When pairing over SMP over BR/EDR the generated LTK has by default the
same key size as the BR/EDR Link Key. Make sure we don't set our
Pairing Request/Response max value to anything higher than that.

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