aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.c')
-rw-r--r--drivers/net/wireless/mwifiex/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c
index c2b91f566e05..9d7c9d354d34 100644
--- a/drivers/net/wireless/mwifiex/main.c
+++ b/drivers/net/wireless/mwifiex/main.c
@@ -882,7 +882,9 @@ mwifiex_add_card(void *card, struct semaphore *sem,
882 adapter->cmd_wait_q.status = 0; 882 adapter->cmd_wait_q.status = 0;
883 adapter->scan_wait_q_woken = false; 883 adapter->scan_wait_q_woken = false;
884 884
885 adapter->workqueue = create_workqueue("MWIFIEX_WORK_QUEUE"); 885 adapter->workqueue =
886 alloc_workqueue("MWIFIEX_WORK_QUEUE",
887 WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_UNBOUND, 1);
886 if (!adapter->workqueue) 888 if (!adapter->workqueue)
887 goto err_kmalloc; 889 goto err_kmalloc;
888 890