]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Require authentication if MITM protection is requested
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Fri, 2 Sep 2011 17:51:20 +0000 (14:51 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Sep 2011 15:58:12 +0000 (12:58 -0300)
commit0e93224665974843dba5a6f3a1858a3290dbe0a5
tree4f0b5949919271fff82ecd68659485c511131e5b
parent223d42a245a91cb1b69925944d0a38fa594fd20a
Bluetooth: Require authentication if MITM protection is requested

The HIGH security level requires a 16 digit pin code for non-SSP
bondings. Sometimes this requirement is not acceptable and we still
want protection againts MITM attacks (which is something that the
MEDIUM security level doesn't provide), for that we should allow
another way to request authentication without using the HIGH security
level.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c