Bluetooth: Add smp_sufficient_security helper function
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 14 May 2013 15:05:12 +0000 (18:05 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:33 +0000 (07:05 -0800)
commitad32a2f5ced269f5516950fc8f52b6673462d208
treead0af02a62228b1be224483fa18432f6dcebb6ec
parentf1496dee9cbde2a62821f4441dadb0d3360f60c3
Bluetooth: Add smp_sufficient_security helper function

This function is needed both by the smp_conn_security function as well
as upcoming code to check for the security requirements when receiving
an L2CAP connect request over LE.

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