diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-05-29 04:34:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-03 15:00:20 -0400 |
commit | 4a4a9e81aed702421ef3e782f82d4e929fb81796 (patch) | |
tree | 784b3573555d3d7be9f0a744d9da912adcd1774d /drivers/net/wireless/iwlwifi/iwl-calib.h | |
parent | 84df9d3130118146c9aedf5146040f9f6495f471 (diff) |
iwlwifi: clean up alive_start routine
This patch cleans up alive_start routine. It removes 4965 from the common
code and moves the run time calibration reset into a common code.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-calib.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-calib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-calib.h b/drivers/net/wireless/iwlwifi/iwl-calib.h index e690668f08a1..b8e57c59eac8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-calib.h +++ b/drivers/net/wireless/iwlwifi/iwl-calib.h | |||
@@ -78,7 +78,7 @@ 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 | 84 | ||
@@ -101,6 +101,9 @@ static inline void iwl_init_sensitivity(struct iwl_priv *priv) | |||
101 | static inline void iwl_chain_noise_reset(struct iwl_priv *priv) | 101 | static inline void iwl_chain_noise_reset(struct iwl_priv *priv) |
102 | { | 102 | { |
103 | } | 103 | } |
104 | static inline void iwl_reset_run_time_calib(struct iwl_priv *priv) | ||
105 | { | ||
106 | } | ||
104 | #endif | 107 | #endif |
105 | 108 | ||
106 | #endif /* __iwl_calib_h__ */ | 109 | #endif /* __iwl_calib_h__ */ |