]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add smp_ltk_sec_level() helper function
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 11 Sep 2014 00:37:45 +0000 (17:37 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Sep 2014 00:45:24 +0000 (02:45 +0200)
commit41a43d488480b2f4ba167a5acbc23595f7bcf606
tree81813ae82ad5069a9880b2918de7548ccbd9a61b
parent90361843dbf3a24c172230d7b1c0a10c7a3ec00c
Bluetooth: Add smp_ltk_sec_level() helper function

There are several places that need to determine the security level that
an LTK can provide. This patch adds a convenience function for this to
help make the code more readable.

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