]> git.baikalelectronics.ru Git - kernel.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)
commit8360b6d1ed1060ebd16532c62510f13c119b9f0a
tree94318dc83c771c905f26b69f7bee9582828ecac9
parent6df9b6225814e54e786f0536fa0382e3ec08bfa9
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