]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
[Bluetooth] Support create connection cancel command
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 26 Sep 2006 07:43:48 +0000 (09:43 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:33 +0000 (18:01 -0700)
commit6ac59344ef25d5f0ebadb5663cf700d25d2a3886
treeb4dbdf1589e0a7b6d3ed04d38fb7615a54f0d7af
parent1143e5a6d4d69cd36d44e0184769aa2b17041a10
[Bluetooth] Support create connection cancel command

In case of non-blocking connects it is possible that the last user
of an ACL link quits before the connection has been fully established.
This will lead to a race condition where the internal state of a
connection is closed, but the actual link has been established and is
active. In case of Bluetooth 1.2 and later devices it is possible to
call create connection cancel to abort the connect. For older devices
the disconnect timer will be used to trigger the needed disconnect.

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