OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:56:33 +0000 (09:56 +0200)
commit75de0ddd3100466b9f2dfcb496bc6a060b8aad01
tree93566d429373f9992519f55fa416b5a217a23d05
parent892b9bf41b2526f51e3f2c66b9494da5e088c404
Bluetooth: Align minimum encryption key size for LE and BR/EDR connections

commit d5bb334a8e171b262e48f378bd2096c0ea458265 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c