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)
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>

No differences found