diff options
| author | Maksim Yevmenkin <emax@FreeBSD.org> | 2007-06-21 19:55:49 +0000 |
|---|---|---|
| committer | Maksim Yevmenkin <emax@FreeBSD.org> | 2007-06-21 19:55:49 +0000 |
| commit | 280c458af83db2552821e7e5aa407bf6ed9cea49 (patch) | |
| tree | 49139ef0bb22098fad60c348fd4821368ca0dcb4 /sys/netgraph/bluetooth | |
| parent | c2861c84f6213de72a91e65018c81e9db73d5c8e (diff) | |
Notes
Diffstat (limited to 'sys/netgraph/bluetooth')
| -rw-r--r-- | sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c index 96278d634e10..46668aeba369 100644 --- a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c +++ b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c @@ -1606,8 +1606,8 @@ ng_btsocket_rfcomm_session_send(ng_btsocket_rfcomm_session_p s) return (0); /* we are done */ /* Call send function on the L2CAP socket */ - error = sosend(s->l2so, NULL, NULL, m, NULL, 0, - curthread /* XXX */); + error = (*s->l2so->so_proto->pr_usrreqs->pru_send)(s->l2so, + 0, m, NULL, NULL, curthread /* XXX */); if (error != 0) { NG_BTSOCKET_RFCOMM_ERR( "%s: Could not send data to L2CAP socket, error=%d\n", __func__, error); |
