diff options
author | emax <emax@FreeBSD.org> | 2008-08-01 00:16:40 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2008-08-01 00:16:40 +0000 |
commit | dbb1414312a2fede9a42ac63eb58060cbe024f79 (patch) | |
tree | a37163dfa6c50e5c35213d4aed2549eacab66a6d /sys/netgraph/bluetooth | |
parent | 8ea609367b09b138e1d44575c81002fce24983fc (diff) | |
download | FreeBSD-src-dbb1414312a2fede9a42ac63eb58060cbe024f79.zip FreeBSD-src-dbb1414312a2fede9a42ac63eb58060cbe024f79.tar.gz |
Increase maximum input queue size limit for raw Bluetooth HCI sockets.
MFC after: 3 days
Diffstat (limited to 'sys/netgraph/bluetooth')
-rw-r--r-- | sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c index fc951c4..4100875 100644 --- a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c +++ b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c @@ -107,7 +107,6 @@ static struct ng_type typestruct = { }; /* Globals */ -extern int ifqmaxlen; static u_int32_t ng_btsocket_hci_raw_debug_level; static u_int32_t ng_btsocket_hci_raw_ioctl_timeout; static node_p ng_btsocket_hci_raw_node; @@ -760,7 +759,7 @@ ng_btsocket_hci_raw_init(void) } /* Create input queue */ - NG_BT_ITEMQ_INIT(&ng_btsocket_hci_raw_queue, ifqmaxlen); + NG_BT_ITEMQ_INIT(&ng_btsocket_hci_raw_queue, 300); mtx_init(&ng_btsocket_hci_raw_queue_mtx, "btsocks_hci_raw_queue_mtx", NULL, MTX_DEF); TASK_INIT(&ng_btsocket_hci_raw_task, 0, |