OSDN Git Service

iwlwifi: move _agn statistics related structure
[uclinux-h8/linux.git] / drivers / net / wireless / iwlwifi / iwl-agn-lib.c
index 0e7b066..5f1e7d8 100644 (file)
@@ -361,7 +361,8 @@ int iwlagn_send_tx_power(struct iwl_priv *priv)
 void iwlagn_temperature(struct iwl_priv *priv)
 {
        /* store temperature from statistics (in Celsius) */
-       priv->temperature = le32_to_cpu(priv->statistics.general.temperature);
+       priv->temperature =
+               le32_to_cpu(priv->_agn.statistics.general.temperature);
        iwl_tt_handler(priv);
 }