Bluetooth: Fix missing check for FIPS security level
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Jun 2014 07:12:44 +0000 (10:12 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 2 Jun 2014 07:34:36 +0000 (00:34 -0700)
When checking whether a legacy link key provides at least HIGH security
level we also need to check for FIPS level which is one step above HIGH.
This patch fixes a missing check in the hci_link_key_request_evt()
function.

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

Simple merge