]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6df9b6225814e54e786f0536fa0382e3ec08bfa9
tree2970f9f27ea6ff46a5080b63fcfbab2b7a76dd05
parenta17981e0770b94f22c19a1b8c920f20d3e4d6589
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