Commit e2ab758d authored by John W. Linville's avatar John W. Linville

Merge branch 'wireless-next-2.6' of...

Merge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6
parents 95f84f29 f8f79a5d
...@@ -533,9 +533,10 @@ int iwlagn_send_tx_power(struct iwl_priv *priv) ...@@ -533,9 +533,10 @@ int iwlagn_send_tx_power(struct iwl_priv *priv)
void iwlagn_temperature(struct iwl_priv *priv) void iwlagn_temperature(struct iwl_priv *priv)
{ {
/* store temperature from statistics (in Celsius) */ /* store temperature from correct statistics (in Celsius) */
priv->temperature = priv->temperature = le32_to_cpu((iwl_bt_statistics(priv)) ?
le32_to_cpu(priv->_agn.statistics.general.common.temperature); priv->_agn.statistics_bt.general.common.temperature :
priv->_agn.statistics.general.common.temperature);
iwl_tt_handler(priv); iwl_tt_handler(priv);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment