]> git.openfabrics.org - ~emulex/infiniband.git/commit
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)
commit0fe442ff854b7bf93e57c7f3964b05a6438de3db
tree94318dc83c771c905f26b69f7bee9582828ecac9
parent490cb0b318a0619ae545e63d6773f01caf29d4a0
Bluetooth: Fix sending wrong store hint for new long term keys

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