ng_hci_evnt.c (121054) | ng_hci_evnt.c (128076) |
---|---|
1/* 2 * ng_hci_evnt.c 3 * 4 * Copyright (c) Maksim Yevmenkin <m_evmenkin@yahoo.com> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * $Id: ng_hci_evnt.c,v 1.6 2003/09/08 18:57:51 max Exp $ | 1/* 2 * ng_hci_evnt.c 3 * 4 * Copyright (c) Maksim Yevmenkin <m_evmenkin@yahoo.com> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * $Id: ng_hci_evnt.c,v 1.6 2003/09/08 18:57:51 max Exp $ |
29 * $FreeBSD: head/sys/netgraph/bluetooth/hci/ng_hci_evnt.c 121054 2003-10-12 22:04:24Z emax $ | 29 * $FreeBSD: head/sys/netgraph/bluetooth/hci/ng_hci_evnt.c 128076 2004-04-09 23:01:42Z emax $ |
30 */ 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/endian.h> 36#include <sys/malloc.h> 37#include <sys/mbuf.h> --- 314 unchanged lines hidden (view full) --- 352 sizeof(*state), M_NOWAIT); 353 if (msg == NULL) 354 return (ENOMEM); 355 356 state = (ng_hci_sync_con_queue_ep *)(msg->data); 357 state->con_handle = con->con_handle; 358 state->completed = completed; 359 | 30 */ 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35#include <sys/endian.h> 36#include <sys/malloc.h> 37#include <sys/mbuf.h> --- 314 unchanged lines hidden (view full) --- 352 sizeof(*state), M_NOWAIT); 353 if (msg == NULL) 354 return (ENOMEM); 355 356 state = (ng_hci_sync_con_queue_ep *)(msg->data); 357 state->con_handle = con->con_handle; 358 state->completed = completed; 359 |
360 NG_SEND_MSG_HOOK(error, unit->node, msg, hook, NULL); | 360 NG_SEND_MSG_HOOK(error, unit->node, msg, hook, 0); |
361 362 return (error); 363} /* sync_con_queue */ 364 365/* Inquiry result event */ 366static int 367inquiry_result(ng_hci_unit_p unit, struct mbuf *event) 368{ --- 774 unchanged lines hidden --- | 361 362 return (error); 363} /* sync_con_queue */ 364 365/* Inquiry result event */ 366static int 367inquiry_result(ng_hci_unit_p unit, struct mbuf *event) 368{ --- 774 unchanged lines hidden --- |