Bluetooth: Reset the security timer when a command is queued
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Sat, 20 Aug 2011 00:06:50 +0000 (21:06 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Sep 2011 15:58:10 +0000 (12:58 -0300)
commite2dcd113d15ef99d23498859e7006955b5367698
treec5349d3b23e09b413bbfd21d0964408aa374f18b
parent52087a792c1513b85de674a4fc67fb92855474c3
Bluetooth: Reset the security timer when a command is queued

Each time a SMP command is enqueued, we reset the SMP timer,
this way we follow exactly what the spec mandates:

"The Security Manager Timer shall be reset when an L2CAP SMP command is
queued for transmission." 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>
net/bluetooth/smp.c