]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix SMP security elevation from medium to high
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 7 Jun 2012 06:58:37 +0000 (14:58 +0800)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 8 Jun 2012 06:58:34 +0000 (03:58 -0300)
commitd77b70b42ef638eb2f336f420ada5a1351ac9e3a
tree1d068a2942a98fb8e91cca4510d958ac24cf1c85
parentf46a507ce323981d715613a2610c88511ead0dd9
Bluetooth: Fix SMP security elevation from medium to high

If we have an unauthenticated key it is not sufficient to acheive high
security. Therefore, when deciding whether to encrypt the link or
request pairing, it is essential to in addition to checking the
existence of a key to also check whether it is authenticated or not.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/smp.c