Bluetooth: Read encryption key size for BR/EDR connections
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 11 Jun 2015 10:52:29 +0000 (13:52 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2015 09:38:45 +0000 (11:38 +0200)
commit821f37666815c9f3a7a4d195ce9184ad4d084942
tree36596eee3edfdaf72e6ee5e0cee6bec31eb574c9
parent035ad621b6e625e185fe7b6929788d1d83727079
Bluetooth: Read encryption key size for BR/EDR connections

Since Bluetooth 3.0 there's a HCI command available for reading the
encryption key size of an BR/EDR connection. This information is
essential e.g. for generating an LTK using SMP over BR/EDR, so store
it as part of struct hci_conn.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_event.c