]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update New CSRK event to match latest specification
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 27 Feb 2015 08:11:13 +0000 (10:11 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2015 17:25:48 +0000 (18:25 +0100)
commite4760029dd7c6e6748264ac03b3ea0d69504092a
tree9a557b133bb3d26d0a9c608668daf56dd1c1999d
parent14076e0c1b76ff0f3c107be6ec176e1dcec27a34
Bluetooth: Update New CSRK event to match latest specification

The 'master' parameter of the New CSRK event was recently renamed to
'type', with the old values kept for backwards compatibility as
unauthenticated local/remote keys. This patch updates the code to take
into account the two new (authenticated) values and ensures they get
used based on the security level of the connection that the respective
keys get distributed over.

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