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)
commitd5bb334a8e171b262e48f378bd2096c0ea458265
tree5ed9634b833429f53134b3cb9fabab6ed783c463
parente668eb1e1578f4fec1cf85ea62e43cb0814b6a6e
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