iwlwifi: add thermal throttling support to 5150
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 13 Aug 2009 20:31:00 +0000 (13:31 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:33:13 +0000 (11:33 -0400)
Adding legacy thermal throttling management support to 5150 NIC

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-5000.c

index e1e862e..720d234 100644 (file)
@@ -1411,6 +1411,7 @@ static void iwl5150_temperature(struct iwl_priv *priv)
        vt = vt / IWL_5150_VOLTAGE_TO_TEMPERATURE_COEFF + offset;
        /* now vt hold the temperature in Kelvin */
        priv->temperature = KELVIN_TO_CELSIUS(vt);
+       iwl_tt_handler(priv);
 }
 
 /* Calc max signal level (dBm) among 3 possible receivers */