]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for sending New IRK event
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Feb 2014 13:18:31 +0000 (15:18 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Feb 2014 16:04:24 +0000 (08:04 -0800)
commit45ac4bed2c692f984a8adedff17ceecf25e59e79
tree4d5950c90f2b12f08e6f171b24e5ae232f5ddab8
parentb1efbb057678b1a7aac6f883759e6eb49e115777
Bluetooth: Add support for sending New IRK event

This patch adds the necessary helper function to send the New IRK mgmt
event and makes sure that the function is called at when SMP key
distribution has completed. The event is sent before the New LTK event
so user space knows which remote device to associate with the keys.

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