summaryrefslogtreecommitdiff
path: root/sys/netbt/rfcomm_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/rfcomm_socket.c
parent40b98550b7357a09aad4dfe870e508bc05f03705 (diff)
Sync bluetooth with NetBSD
Diffstat (limited to 'sys/netbt/rfcomm_socket.c')
-rw-r--r--sys/netbt/rfcomm_socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netbt/rfcomm_socket.c b/sys/netbt/rfcomm_socket.c
index 1c0e69db564..1ade1aacc99 100644
--- a/sys/netbt/rfcomm_socket.c
+++ b/sys/netbt/rfcomm_socket.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: rfcomm_socket.c,v 1.3 2008/05/27 19:41:14 thib Exp $ */
-/* $NetBSD: rfcomm_socket.c,v 1.8 2007/10/15 18:04:34 plunky Exp $ */
+/* $OpenBSD: rfcomm_socket.c,v 1.4 2008/11/22 04:42:58 uwe Exp $ */
+/* $NetBSD: rfcomm_socket.c,v 1.10 2008/08/06 15:01:24 plunky Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -122,9 +122,9 @@ rfcomm_usrreq(struct socket *up, int req, struct mbuf *m,
#endif
case PRU_ATTACH:
+ /* XXX solock() and bt_lock fiddling in NetBSD */
if (pcb != NULL)
return EINVAL;
-
/*
* Since we have nothing to add, we attach the DLC
* structure directly to our PCB pointer.