]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for SMP timeout
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Tue, 14 Jun 2011 16:37:41 +0000 (13:37 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 14 Jun 2011 17:54:05 +0000 (14:54 -0300)
commit89b5803ee2ac82a04ed8e9ff1089bfba57488e9b
tree7a52c5136964e89c80f1c26595603021ba29e2b9
parenta5e7d08f353bb481d7ac8b223b9693c29ccc8d0f
Bluetooth: Add support for SMP timeout

This patch adds support for disconnecting the link when SMP procedure
takes more than 30 seconds.

SMP begins when either the Pairing Request command is sent or the
Pairing Response is received, and it ends when the link is encrypted
(or terminated). Vol 3, Part H Section 3.4.

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