diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-ucode.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-ucode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c index 8bda0e8d6661..97de5d9de67b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c | |||
@@ -217,8 +217,8 @@ static int iwlagn_send_calib_cfg(struct iwl_priv *priv) | |||
217 | struct iwl_calib_cfg_cmd calib_cfg_cmd; | 217 | struct iwl_calib_cfg_cmd calib_cfg_cmd; |
218 | struct iwl_host_cmd cmd = { | 218 | struct iwl_host_cmd cmd = { |
219 | .id = CALIBRATION_CFG_CMD, | 219 | .id = CALIBRATION_CFG_CMD, |
220 | .len = sizeof(struct iwl_calib_cfg_cmd), | 220 | .len = { sizeof(struct iwl_calib_cfg_cmd), }, |
221 | .data = &calib_cfg_cmd, | 221 | .data = { &calib_cfg_cmd, }, |
222 | }; | 222 | }; |
223 | 223 | ||
224 | memset(&calib_cfg_cmd, 0, sizeof(calib_cfg_cmd)); | 224 | memset(&calib_cfg_cmd, 0, sizeof(calib_cfg_cmd)); |
@@ -440,7 +440,7 @@ static int iwlagn_alive_notify(struct iwl_priv *priv) | |||
440 | IWL_MASK(0, priv->hw_params.max_txq_num)); | 440 | IWL_MASK(0, priv->hw_params.max_txq_num)); |
441 | 441 | ||
442 | /* Activate all Tx DMA/FIFO channels */ | 442 | /* Activate all Tx DMA/FIFO channels */ |
443 | priv->cfg->ops->lib->txq_set_sched(priv, IWL_MASK(0, 7)); | 443 | iwlagn_txq_set_sched(priv, IWL_MASK(0, 7)); |
444 | 444 | ||
445 | /* map queues to FIFOs */ | 445 | /* map queues to FIFOs */ |
446 | if (priv->valid_contexts != BIT(IWL_RXON_CTX_BSS)) | 446 | if (priv->valid_contexts != BIT(IWL_RXON_CTX_BSS)) |