aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 1be6ca435f3d..7cc73e9a711c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -1422,11 +1422,10 @@ static int iwl5000_send_tx_power(struct iwl_priv *priv)
1422 NULL); 1422 NULL);
1423} 1423}
1424 1424
1425static void iwl5000_temperature(struct iwl_priv *priv, 1425static void iwl5000_temperature(struct iwl_priv *priv)
1426 struct iwl_notif_statistics *stats)
1427{ 1426{
1428 /* store temperature from statistics (in Celsius) */ 1427 /* store temperature from statistics (in Celsius) */
1429 priv->temperature = le32_to_cpu(stats->general.temperature); 1428 priv->temperature = le32_to_cpu(priv->statistics.general.temperature);
1430} 1429}
1431 1430
1432static struct iwl_hcmd_ops iwl5000_hcmd = { 1431static struct iwl_hcmd_ops iwl5000_hcmd = {