mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 10:20:17 -04:00
Merge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6
This commit is contained in:
@@ -533,9 +533,10 @@ 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->_agn.statistics.general.common.temperature);
|
||||
/* store temperature from correct statistics (in Celsius) */
|
||||
priv->temperature = le32_to_cpu((iwl_bt_statistics(priv)) ?
|
||||
priv->_agn.statistics_bt.general.common.temperature :
|
||||
priv->_agn.statistics.general.common.temperature);
|
||||
iwl_tt_handler(priv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user