summaryrefslogtreecommitdiff
path: root/sys/netbt/sco_socket.c
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2008-11-22 04:42:59 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2008-11-22 04:42:59 +0000
commitee43d395f23778051691eb4bfc357fa8a319dc36 (patch)
tree39f64994e1dc4a1a4688f1cd259f7a4ac2a1fa41 /sys/netbt/sco_socket.c
parent40b98550b7357a09aad4dfe870e508bc05f03705 (diff)
Sync bluetooth with NetBSD
Diffstat (limited to 'sys/netbt/sco_socket.c')
-rw-r--r--sys/netbt/sco_socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netbt/sco_socket.c b/sys/netbt/sco_socket.c
index 954e0465abd..0ee635d4f13 100644
--- a/sys/netbt/sco_socket.c
+++ b/sys/netbt/sco_socket.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: sco_socket.c,v 1.2 2008/05/27 19:41:14 thib Exp $ */
-/* $NetBSD: sco_socket.c,v 1.9 2007/04/21 06:15:23 plunky Exp $ */
+/* $OpenBSD: sco_socket.c,v 1.3 2008/11/22 04:42:58 uwe Exp $ */
+/* $NetBSD: sco_socket.c,v 1.11 2008/08/06 15:01:24 plunky Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -117,9 +117,9 @@ sco_usrreq(struct socket *up, int req, struct mbuf *m,
#endif
case PRU_ATTACH:
+ /* XXX solock() and bt_lock fiddling in NetBSD */
if (pcb)
return EINVAL;
-
err = soreserve(up, sco_sendspace, sco_recvspace);
if (err)
return err;