aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index f53cd2b096df..aad32a3ffd19 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -519,10 +519,10 @@ static void iwl4965_chain_noise_reset(struct iwl_priv *priv)
519 struct iwl_chain_noise_data *data = &(priv->chain_noise_data); 519 struct iwl_chain_noise_data *data = &(priv->chain_noise_data);
520 520
521 if ((data->state == IWL_CHAIN_NOISE_ALIVE) && iwl_is_associated(priv)) { 521 if ((data->state == IWL_CHAIN_NOISE_ALIVE) && iwl_is_associated(priv)) {
522 struct iwl4965_calibration_cmd cmd; 522 struct iwl_calib_diff_gain_cmd cmd;
523 523
524 memset(&cmd, 0, sizeof(cmd)); 524 memset(&cmd, 0, sizeof(cmd));
525 cmd.opCode = PHY_CALIBRATE_DIFF_GAIN_CMD; 525 cmd.opCode = IWL_PHY_CALIBRATE_DIFF_GAIN_CMD;
526 cmd.diff_gain_a = 0; 526 cmd.diff_gain_a = 0;
527 cmd.diff_gain_b = 0; 527 cmd.diff_gain_b = 0;
528 cmd.diff_gain_c = 0; 528 cmd.diff_gain_c = 0;
@@ -569,11 +569,11 @@ static void iwl4965_gain_computation(struct iwl_priv *priv,
569 569
570 /* Differential gain gets sent to uCode only once */ 570 /* Differential gain gets sent to uCode only once */
571 if (!data->radio_write) { 571 if (!data->radio_write) {
572 struct iwl4965_calibration_cmd cmd; 572 struct iwl_calib_diff_gain_cmd cmd;
573 data->radio_write = 1; 573 data->radio_write = 1;
574 574
575 memset(&cmd, 0, sizeof(cmd)); 575 memset(&cmd, 0, sizeof(cmd));
576 cmd.opCode = PHY_CALIBRATE_DIFF_GAIN_CMD; 576 cmd.opCode = IWL_PHY_CALIBRATE_DIFF_GAIN_CMD;
577 cmd.diff_gain_a = data->delta_gain_code[0]; 577 cmd.diff_gain_a = data->delta_gain_code[0];
578 cmd.diff_gain_b = data->delta_gain_code[1]; 578 cmd.diff_gain_b = data->delta_gain_code[1];
579 cmd.diff_gain_c = data->delta_gain_code[2]; 579 cmd.diff_gain_c = data->delta_gain_code[2];