Bluetooth: Restrict long term keys to public and static addresses
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 16 Feb 2014 20:59:05 +0000 (12:59 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 17 Feb 2014 13:58:14 +0000 (15:58 +0200)
commit490cb0b318a0619ae545e63d6773f01caf29d4a0
tree2970f9f27ea6ff46a5080b63fcfbab2b7a76dd05
parent9113bfd82dc8ece9cbb898df8794f58a78a36e97
Bluetooth: Restrict long term keys to public and static addresses

The long term keys should be associated with an identity address. Valid
identity addresses are public addresses or static addresses. So only
allow these two as valid address information for long term keys.

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