aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
index a80f620850d9..26abc2268860 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
@@ -1147,8 +1147,9 @@ int iwl_hw_nic_reset(struct iwl_priv *priv)
1147} 1147}
1148 1148
1149/** 1149/**
1150 * iwl_hw_reg_adjust_power_by_temp - return index delta into power gain settings table 1150 * iwl_hw_reg_adjust_power_by_temp
1151 */ 1151 * return index delta into power gain settings table
1152*/
1152static int iwl_hw_reg_adjust_power_by_temp(int new_reading, int old_reading) 1153static int iwl_hw_reg_adjust_power_by_temp(int new_reading, int old_reading)
1153{ 1154{
1154 return (new_reading - old_reading) * (-11) / 100; 1155 return (new_reading - old_reading) * (-11) / 100;
@@ -1168,8 +1169,9 @@ int iwl_hw_get_temperature(struct iwl_priv *priv)
1168} 1169}
1169 1170
1170/** 1171/**
1171 * iwl_hw_reg_txpower_get_temperature - get current temperature by reading from NIC 1172 * iwl_hw_reg_txpower_get_temperature
1172 */ 1173 * get the current temperature by reading from NIC
1174*/
1173static int iwl_hw_reg_txpower_get_temperature(struct iwl_priv *priv) 1175static int iwl_hw_reg_txpower_get_temperature(struct iwl_priv *priv)
1174{ 1176{
1175 int temperature; 1177 int temperature;