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)
commit95fbac8a8e459262c580ee4172e4713cdc60929b
tree4d5950c90f2b12f08e6f171b24e5ae232f5ddab8
parent35d702719d6464a9de2bf98d536c6e054f0a8f7e
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