]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55d83e22099f115723d9f7153ddeafce168431db
tree3fba84e6cea1ab81587c5ee0eb7a98a820523a78
parent8b97b562837ac1d3232f58929db4bef7ca4c508a
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