Bluetooth: Add debugfs support for min LE encryption key size
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 11 Jun 2015 10:52:27 +0000 (13:52 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2015 09:38:45 +0000 (11:38 +0200)
commitb1f663c91c9dd96cc3e57ce7e90d29a6b43b9e16
tree3fba84e6cea1ab81587c5ee0eb7a98a820523a78
parent2fd36558f02c0606768929fc77671716680d01c2
Bluetooth: Add debugfs support for min LE encryption key size

This patch adds a debugfs control to set a different minimum LE
encryption key size. This is useful for testing that implementation of
the encryption key size handling is behaving correctly (e.g. that we
get appropriate 'Encryption Key Size' error responses when necessary).

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