diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-03-22 11:51:44 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-18 10:29:59 -0400 |
commit | 2152268ff9119c16447f6bf6e61b02df796960fd (patch) | |
tree | 60c90431506a2dd20060fc8a1473ccc7839d65f2 /drivers/net/wireless/iwlwifi/iwl-agn-tt.c | |
parent | 68e8dfdadb424fd76ca81eeb399c3228adc5cea2 (diff) |
iwlwifi: op_mode holds its pointer to the config
Instead of using the shared area that we be killed.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-tt.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-tt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tt.c b/drivers/net/wireless/iwlwifi/iwl-agn-tt.c index 18276db5b72d..f6bf874656fa 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tt.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tt.c | |||
@@ -632,7 +632,7 @@ void iwl_tt_initialize(struct iwl_priv *priv) | |||
632 | INIT_WORK(&priv->ct_enter, iwl_bg_ct_enter); | 632 | INIT_WORK(&priv->ct_enter, iwl_bg_ct_enter); |
633 | INIT_WORK(&priv->ct_exit, iwl_bg_ct_exit); | 633 | INIT_WORK(&priv->ct_exit, iwl_bg_ct_exit); |
634 | 634 | ||
635 | if (cfg(priv)->base_params->adv_thermal_throttle) { | 635 | if (priv->cfg->base_params->adv_thermal_throttle) { |
636 | IWL_DEBUG_TEMP(priv, "Advanced Thermal Throttling\n"); | 636 | IWL_DEBUG_TEMP(priv, "Advanced Thermal Throttling\n"); |
637 | tt->restriction = kcalloc(IWL_TI_STATE_MAX, | 637 | tt->restriction = kcalloc(IWL_TI_STATE_MAX, |
638 | sizeof(struct iwl_tt_restriction), | 638 | sizeof(struct iwl_tt_restriction), |