summaryrefslogtreecommitdiff
path: root/sys/netbt/hci.h
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2007-06-19 08:12:36 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2007-06-19 08:12:36 +0000
commitadfc604b4653fa8423fe973bac1cf07a412e20b3 (patch)
tree7ba46758fd4a318df8facd59c7640c4316342e03 /sys/netbt/hci.h
parentef866e0119ad473b081d3902f0f5e2c2acce84eb (diff)
Abort all pending ACL connections when we get an HCI command parameter
error in response to a HCI_CMD_CREATE_CON command instead of waiting that the user aborts due to boredom. Unfortunately, the command status event does not include a hint to tells us which connection failed.
Diffstat (limited to 'sys/netbt/hci.h')
-rw-r--r--sys/netbt/hci.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netbt/hci.h b/sys/netbt/hci.h
index 581451c5da8..700bceb2e59 100644
--- a/sys/netbt/hci.h
+++ b/sys/netbt/hci.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hci.h,v 1.6 2007/06/01 02:46:11 uwe Exp $ */
+/* $OpenBSD: hci.h,v 1.7 2007/06/19 08:12:34 uwe Exp $ */
/* $NetBSD: hci.h,v 1.10 2007/04/21 06:15:23 plunky Exp $ */
/*-
@@ -55,7 +55,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: hci.h,v 1.6 2007/06/01 02:46:11 uwe Exp $
+ * $Id: hci.h,v 1.7 2007/06/19 08:12:34 uwe Exp $
* $FreeBSD: src/sys/netgraph/bluetooth/include/ng_hci.h,v 1.6 2005/01/07 01:45:43 imp Exp $
*/
@@ -2192,6 +2192,7 @@ void hci_sco_start(struct hci_link *);
void hci_sco_complete(struct hci_link *, int);
struct hci_link *hci_link_alloc(struct hci_unit *);
void hci_link_free(struct hci_link *, int);
+struct hci_link *hci_link_lookup_state(struct hci_unit *, uint16_t, uint16_t);
struct hci_link *hci_link_lookup_bdaddr(struct hci_unit *, bdaddr_t *, uint16_t);
struct hci_link *hci_link_lookup_handle(struct hci_unit *, uint16_t);