]> err.no Git - linux-2.6/commit
[Bluetooth] Support concurrent connect requests
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Oct 2006 15:30:56 +0000 (17:30 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Oct 2006 06:14:30 +0000 (23:14 -0700)
commit4c67bc74f016b0d360b8573e18969c0ff7926974
treed5eec3da59b642f48e7fcc2034b6d90b5fa54e01
parente9c4bec63eac001651d6d30239dd4175cc3698ef
[Bluetooth] Support concurrent connect requests

Most Bluetooth chips don't support concurrent connect requests, because
this would involve a multiple baseband page with only one radio. In the
case an upper layer like L2CAP requests a concurrent connect these chips
return the error "Command Disallowed" for the second request. If this
happens it the responsibility of the Bluetooth core to queue the request
and try again after the previous connect attempt has been completed.

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