]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 23 Sep 2019 20:11:50 +0000 (21:11 +0100)
commit1f52c0fb870d0a3e00f790d5a8085bcb234ad0fe
tree526e177b91b5d96dff5c2cdc4077656d018584c7
parent889822ef3977e12dccffcf092c1dcd0467c6f378
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c