]> git.baikalelectronics.ru Git - kernel.git/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)
commit0f222c621899f3f334581764c2afd1ff726c1b81
treed5eec3da59b642f48e7fcc2034b6d90b5fa54e01
parent72e0b6db7d38cecc1941542f3ba69a9cd2db1558
[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