]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Limit acceptable link key types to only supported ones
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 10 Jan 2014 10:07:25 +0000 (02:07 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:33 +0000 (09:51 +0200)
commit4b6b68c2d7c24807fcfeb95c50e93c11129ebfed
tree8046d3adfb2271f8cdd20fd7223dd947f8a04fd4
parent598b3edd294b50bd0360909bdf8420616ce9130f
Bluetooth: Limit acceptable link key types to only supported ones

The link keys that are loaded by userspace during controller setup
should be limited to actual valid and supported types. With the
support for Secure Connections, it is limited to types 0x00 - 0x08
at the moment. Reject any other link key types.

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