Bluetooth: Fix sending wrong store hint for new long term keys
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 16 Feb 2014 20:59:06 +0000 (12:59 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 17 Feb 2014 13:58:14 +0000 (15:58 +0200)
The long term keys should only be stored when they belong to an
indentity address. The identity address can either be a public
address or a random static address.

For all other addresses (unresovable or resolvable) tell userspace
that the long term key is not persistent.

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

Simple merge