]> git.baikalelectronics.ru Git - kernel.git/commit
[Bluetooth]: Don't update disconnect timer for incoming connections
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 28 Sep 2006 22:29:09 +0000 (15:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:03:11 +0000 (18:03 -0700)
commit49c22b406a0112b2bcab9d4217a9ca08347f742e
treea4a245c811525bbe7bf728558a6415b50bf1ea3c
parent128a3af7eb47a703de06d2cc61ad2a61b3a48804
[Bluetooth]: Don't update disconnect timer for incoming connections

In the case of device pairing the only safe method is to establish
a low-level ACL link. In this case, the remote side should not use
the disconnect timer to give the other side the chance to enter the
PIN code. If the disconnect timer is used, the connection will be
dropped to soon, because it is impossible to identify an actual user
of this link.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/hci_event.c