diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r-- | drivers/net/wireless/mwifiex/cmdevt.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/mwifiex/join.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/mwifiex/main.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/mwifiex/sta_cmd.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/mwifiex/wmm.c | 2 |
5 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/wireless/mwifiex/cmdevt.c b/drivers/net/wireless/mwifiex/cmdevt.c index a6c46f3b6e3a..e47f4e3012b8 100644 --- a/drivers/net/wireless/mwifiex/cmdevt.c +++ b/drivers/net/wireless/mwifiex/cmdevt.c | |||
@@ -1048,7 +1048,7 @@ mwifiex_cancel_pending_ioctl(struct mwifiex_adapter *adapter) | |||
1048 | struct cmd_ctrl_node *cmd_node = NULL, *tmp_node = NULL; | 1048 | struct cmd_ctrl_node *cmd_node = NULL, *tmp_node = NULL; |
1049 | unsigned long cmd_flags; | 1049 | unsigned long cmd_flags; |
1050 | unsigned long scan_pending_q_flags; | 1050 | unsigned long scan_pending_q_flags; |
1051 | uint16_t cancel_scan_cmd = false; | 1051 | bool cancel_scan_cmd = false; |
1052 | 1052 | ||
1053 | if ((adapter->curr_cmd) && | 1053 | if ((adapter->curr_cmd) && |
1054 | (adapter->curr_cmd->wait_q_enabled)) { | 1054 | (adapter->curr_cmd->wait_q_enabled)) { |
diff --git a/drivers/net/wireless/mwifiex/join.c b/drivers/net/wireless/mwifiex/join.c index 9d7c0e6c4fc7..717fbe2e0e5a 100644 --- a/drivers/net/wireless/mwifiex/join.c +++ b/drivers/net/wireless/mwifiex/join.c | |||
@@ -621,7 +621,7 @@ int mwifiex_ret_802_11_associate(struct mwifiex_private *priv, | |||
621 | int ret = 0; | 621 | int ret = 0; |
622 | struct ieee_types_assoc_rsp *assoc_rsp; | 622 | struct ieee_types_assoc_rsp *assoc_rsp; |
623 | struct mwifiex_bssdescriptor *bss_desc; | 623 | struct mwifiex_bssdescriptor *bss_desc; |
624 | u8 enable_data = true; | 624 | bool enable_data = true; |
625 | u16 cap_info, status_code; | 625 | u16 cap_info, status_code; |
626 | 626 | ||
627 | assoc_rsp = (struct ieee_types_assoc_rsp *) &resp->params; | 627 | assoc_rsp = (struct ieee_types_assoc_rsp *) &resp->params; |
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 | ||
diff --git a/drivers/net/wireless/mwifiex/sta_cmd.c b/drivers/net/wireless/mwifiex/sta_cmd.c index c0268b597748..7d66018a2e33 100644 --- a/drivers/net/wireless/mwifiex/sta_cmd.c +++ b/drivers/net/wireless/mwifiex/sta_cmd.c | |||
@@ -327,7 +327,7 @@ mwifiex_cmd_802_11_hs_cfg(struct mwifiex_private *priv, | |||
327 | { | 327 | { |
328 | struct mwifiex_adapter *adapter = priv->adapter; | 328 | struct mwifiex_adapter *adapter = priv->adapter; |
329 | struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = &cmd->params.opt_hs_cfg; | 329 | struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = &cmd->params.opt_hs_cfg; |
330 | u16 hs_activate = false; | 330 | bool hs_activate = false; |
331 | 331 | ||
332 | if (!hscfg_param) | 332 | if (!hscfg_param) |
333 | /* New Activate command */ | 333 | /* New Activate command */ |
diff --git a/drivers/net/wireless/mwifiex/wmm.c b/drivers/net/wireless/mwifiex/wmm.c index 95fa3599b407..5dd0ccc70b86 100644 --- a/drivers/net/wireless/mwifiex/wmm.c +++ b/drivers/net/wireless/mwifiex/wmm.c | |||
@@ -708,7 +708,7 @@ int mwifiex_ret_wmm_get_status(struct mwifiex_private *priv, | |||
708 | { | 708 | { |
709 | u8 *curr = (u8 *) &resp->params.get_wmm_status; | 709 | u8 *curr = (u8 *) &resp->params.get_wmm_status; |
710 | uint16_t resp_len = le16_to_cpu(resp->size), tlv_len; | 710 | uint16_t resp_len = le16_to_cpu(resp->size), tlv_len; |
711 | int valid = true; | 711 | bool valid = true; |
712 | 712 | ||
713 | struct mwifiex_ie_types_data *tlv_hdr; | 713 | struct mwifiex_ie_types_data *tlv_hdr; |
714 | struct mwifiex_ie_types_wmm_queue_status *tlv_wmm_qstatus; | 714 | struct mwifiex_ie_types_wmm_queue_status *tlv_wmm_qstatus; |