Increase maximum input queue size limit for raw Bluetooth HCI sockets.
MFC after: 3 days
This commit is contained in:
parent
9b5b51671c
commit
93f9b5b4aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181089
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user