diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-calib.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-calib.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-calib.h b/drivers/net/wireless/iwlwifi/iwl-calib.h index 933b0b0a797b..b8e57c59eac8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-calib.h +++ b/drivers/net/wireless/iwlwifi/iwl-calib.h | |||
@@ -78,10 +78,12 @@ void iwl_sensitivity_calibration(struct iwl_priv *priv, | |||
78 | struct iwl4965_notif_statistics *resp); | 78 | struct iwl4965_notif_statistics *resp); |
79 | 79 | ||
80 | void iwl_init_sensitivity(struct iwl_priv *priv); | 80 | void iwl_init_sensitivity(struct iwl_priv *priv); |
81 | 81 | void iwl_reset_run_time_calib(struct iwl_priv *priv); | |
82 | static inline void iwl_chain_noise_reset(struct iwl_priv *priv) | 82 | static inline void iwl_chain_noise_reset(struct iwl_priv *priv) |
83 | { | 83 | { |
84 | if (priv->cfg->ops->utils->chain_noise_reset) | 84 | |
85 | if (!priv->disable_chain_noise_cal && | ||
86 | priv->cfg->ops->utils->chain_noise_reset) | ||
85 | priv->cfg->ops->utils->chain_noise_reset(priv); | 87 | priv->cfg->ops->utils->chain_noise_reset(priv); |
86 | } | 88 | } |
87 | #else | 89 | #else |
@@ -99,6 +101,9 @@ static inline void iwl_init_sensitivity(struct iwl_priv *priv) | |||
99 | static inline void iwl_chain_noise_reset(struct iwl_priv *priv) | 101 | static inline void iwl_chain_noise_reset(struct iwl_priv *priv) |
100 | { | 102 | { |
101 | } | 103 | } |
104 | static inline void iwl_reset_run_time_calib(struct iwl_priv *priv) | ||
105 | { | ||
106 | } | ||
102 | #endif | 107 | #endif |
103 | 108 | ||
104 | #endif /* __iwl_calib_h__ */ | 109 | #endif /* __iwl_calib_h__ */ |