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 ad4d7d11c3b8..4e377c817a87 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -1542,7 +1542,7 @@ static int iwl4965_hw_get_temperature(struct iwl_priv *priv) | |||
1542 | u32 R4; | 1542 | u32 R4; |
1543 | 1543 | ||
1544 | if (test_bit(STATUS_TEMPERATURE, &priv->status) && | 1544 | if (test_bit(STATUS_TEMPERATURE, &priv->status) && |
1545 | (priv->_agn.statistics.flag & STATISTICS_REPLY_FLG_HT40_MODE_MSK)) { | 1545 | (priv->statistics.flag & STATISTICS_REPLY_FLG_HT40_MODE_MSK)) { |
1546 | IWL_DEBUG_TEMP(priv, "Running HT40 temperature calibration\n"); | 1546 | IWL_DEBUG_TEMP(priv, "Running HT40 temperature calibration\n"); |
1547 | R1 = (s32)le32_to_cpu(priv->card_alive_init.therm_r1[1]); | 1547 | R1 = (s32)le32_to_cpu(priv->card_alive_init.therm_r1[1]); |
1548 | R2 = (s32)le32_to_cpu(priv->card_alive_init.therm_r2[1]); | 1548 | R2 = (s32)le32_to_cpu(priv->card_alive_init.therm_r2[1]); |
@@ -1567,7 +1567,7 @@ static int iwl4965_hw_get_temperature(struct iwl_priv *priv) | |||
1567 | vt = sign_extend(R4, 23); | 1567 | vt = sign_extend(R4, 23); |
1568 | else | 1568 | else |
1569 | vt = sign_extend( | 1569 | vt = sign_extend( |
1570 | le32_to_cpu(priv->_agn.statistics.general.temperature), 23); | 1570 | le32_to_cpu(priv->statistics.general.temperature), 23); |
1571 | 1571 | ||
1572 | IWL_DEBUG_TEMP(priv, "Calib values R[1-3]: %d %d %d R4: %d\n", R1, R2, R3, vt); | 1572 | IWL_DEBUG_TEMP(priv, "Calib values R[1-3]: %d %d %d R4: %d\n", R1, R2, R3, vt); |
1573 | 1573 | ||