]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Fix authentication check for FIPS security level
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 30 May 2014 11:45:19 +0000 (14:45 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 31 May 2014 04:25:01 +0000 (21:25 -0700)
commit7e3691e13ab51f3491e996e2edaf99b173621288
treea211a6b26099a306c0058246fe17f777412154b8
parent61b433579b6ffecb1d3534fd482dcd48535277c8
Bluetooth: Fix authentication check for FIPS security level

When checking whether we need to request authentication or not we should
include HCI_SECURITY_FIPS to the levels that always need authentication.
This patch fixes check for it in the hci_outgoing_auth_needed()
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