[Bluetooth] Disable disconnect timer during Simple Pairing
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:48 +0000 (20:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:48 +0000 (20:13 +0200)
commit0493684ed2397e111574f343534d8e4ec440dfa5
treeea27e8d7ecbc197893c16b36af0ac4419264d62d
parentc7bdd5026d28d178238bd794c61612602a54d55e
[Bluetooth] Disable disconnect timer during Simple Pairing

During the Simple Pairing process the HCI disconnect timer must be
disabled. The way to do this is by holding a reference count of the
HCI connection. The Simple Pairing process on both sides starts with
an IO Capabilities Request and ends with Simple Pairing Complete.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_event.c