Remove PR_ATOMIC flag in ng_btsocket_protosw[] for BLUETOOTH_PROTO_RFCOMM

protocol. RFCOMM is a SOCK_STREAM protocol not SOCK_SEQPACKET. This was a
serious bug caused by cut-and-paste. I'm surprised it did not bite me before.
Dunce hat goes to me.

MFC after:	3 days
This commit is contained in:
Maksim Yevmenkin 2005-04-06 20:54:05 +00:00
parent f0a4e141f4
commit aa9e985aed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144723

View File

@ -182,7 +182,7 @@ static struct protosw ng_btsocket_protosw[] = {
SOCK_STREAM, /* protocol type */
&ng_btsocket_domain, /* backpointer to domain */
BLUETOOTH_PROTO_RFCOMM, /* protocol */
PR_ATOMIC | PR_CONNREQUIRED, /* flags */
PR_CONNREQUIRED, /* flags */
NULL, NULL, NULL, /* input, output, ctlinput */
ng_btsocket_rfcomm_ctloutput, /* ctloutput */
NULL, /* ousrreq() */