Bluetooth: Add initial code for distributing local IRK
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 22 Feb 2014 17:06:32 +0000 (19:06 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Feb 2014 17:59:23 +0000 (09:59 -0800)
commit863efaf224d24705c0ffdc59f2a0ec68f2d85b4f
treeb58c8d7eba9defd81c056dcb701435237031fa44
parent524237cb4b566ae73ec24c56852489b85e426241
Bluetooth: Add initial code for distributing local IRK

This code adds a HCI_PRIVACY flag to track whether Privacy support is
enabled (meaning we have a local IRK) and makes sure the IRK is
distributed during SMP key distribution in case this flag is set.

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