]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Apr 2019 20:19:17 +0000 (22:19 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 25 Apr 2019 13:18:07 +0000 (06:18 -0700)
commit3f06504de88e4ea7ef201101a07b95bf31bfd698
tree5ed9634b833429f53134b3cb9fabab6ed783c463
parent62f4588da4f6a3b0d4a6b7a3cedf3ed5806220a2
Bluetooth: Align minimum encryption key size for LE and BR/EDR connections

The minimum encryption key size for LE connections is 56 bits and to
align LE with BR/EDR, enforce 56 bits of minimum encryption key size for
BR/EDR connections as well.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Cc: stable@vger.kernel.org
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c