Bluetooth: Enable support for remote IRK distribution
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 08:19:36 +0000 (10:19 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 08:47:03 +0000 (00:47 -0800)
commitfd349c020c5b6f7a6e17cb8b4e821ff9b6f71ba6
treefd713b8b491c9971c4a9a099b14c8d18c501bb2f
parent41edf1601af3b25461d91e73834dc89510bca8e5
Bluetooth: Enable support for remote IRK distribution

This patch does the necessary changes to request the remote device to
distribute its IRK to us during the SMP pairing procedure. This includes
setting the right key distribution values in the pairing
request/response and handling of the two related SMP PDUs, i.e. Identity
Information and Identity Address Information.

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