diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index ab0b40531989..f90c9e92ef71 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -523,7 +523,7 @@ static void iwl4965_chain_noise_reset(struct iwl_priv *priv) | |||
523 | struct iwl_calib_diff_gain_cmd cmd; | 523 | struct iwl_calib_diff_gain_cmd cmd; |
524 | 524 | ||
525 | memset(&cmd, 0, sizeof(cmd)); | 525 | memset(&cmd, 0, sizeof(cmd)); |
526 | cmd.opCode = IWL_PHY_CALIBRATE_DIFF_GAIN_CMD; | 526 | cmd.hdr.op_code = IWL_PHY_CALIBRATE_DIFF_GAIN_CMD; |
527 | cmd.diff_gain_a = 0; | 527 | cmd.diff_gain_a = 0; |
528 | cmd.diff_gain_b = 0; | 528 | cmd.diff_gain_b = 0; |
529 | cmd.diff_gain_c = 0; | 529 | cmd.diff_gain_c = 0; |
@@ -574,7 +574,7 @@ static void iwl4965_gain_computation(struct iwl_priv *priv, | |||
574 | data->radio_write = 1; | 574 | data->radio_write = 1; |
575 | 575 | ||
576 | memset(&cmd, 0, sizeof(cmd)); | 576 | memset(&cmd, 0, sizeof(cmd)); |
577 | cmd.opCode = IWL_PHY_CALIBRATE_DIFF_GAIN_CMD; | 577 | cmd.hdr.op_code = IWL_PHY_CALIBRATE_DIFF_GAIN_CMD; |
578 | cmd.diff_gain_a = data->delta_gain_code[0]; | 578 | cmd.diff_gain_a = data->delta_gain_code[0]; |
579 | cmd.diff_gain_b = data->delta_gain_code[1]; | 579 | cmd.diff_gain_b = data->delta_gain_code[1]; |
580 | cmd.diff_gain_c = data->delta_gain_code[2]; | 580 | cmd.diff_gain_c = data->delta_gain_code[2]; |