diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-06-03 13:55:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-03 13:55:37 -0400 |
commit | 2daf6c157500b832687f675e323879e3a4c3fe27 (patch) | |
tree | fea2e19e1c4c7d24cdf48c8bf32e30d5b26cd859 /drivers/net/wireless/iwlwifi/iwl-5000.c | |
parent | 6e387aa420bb8cd2bde522352c7930a1bfc24b0c (diff) |
Revert "iwlwifi: move _agn statistics related structure"
This reverts commit a2064b7a4a22d118087898e4308670da7ac07911.
when CONFIG_IWLAGN=n:
drivers/net/wireless/iwlwifi/iwl-rx.c:254: error: 'struct iwl_priv' has no member named '_agn'
drivers/net/wireless/iwlwifi/iwl-rx.c:303: error: 'struct iwl_priv' has no member named '_agn'
drivers/net/wireless/iwlwifi/iwl-rx.c:304: error: 'struct iwl_priv' has no member named '_agn'
drivers/net/wireless/iwlwifi/iwl-rx.c:305: error: 'struct iwl_priv' has no member named '_agn'
drivers/net/wireless/iwlwifi/iwl-rx.c:306: error: 'struct iwl_priv' has no member named '_agn'
and many more.
Conflicts:
drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c
drivers/net/wireless/iwlwifi/iwl-debugfs.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-rx.c
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 447ec4885a41..a28af7eb67eb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -260,7 +260,7 @@ static void iwl5150_temperature(struct iwl_priv *priv) | |||
260 | u32 vt = 0; | 260 | u32 vt = 0; |
261 | s32 offset = iwl_temp_calib_to_offset(priv); | 261 | s32 offset = iwl_temp_calib_to_offset(priv); |
262 | 262 | ||
263 | vt = le32_to_cpu(priv->_agn.statistics.general.temperature); | 263 | vt = le32_to_cpu(priv->statistics.general.temperature); |
264 | vt = vt / IWL_5150_VOLTAGE_TO_TEMPERATURE_COEFF + offset; | 264 | vt = vt / IWL_5150_VOLTAGE_TO_TEMPERATURE_COEFF + offset; |
265 | /* now vt hold the temperature in Kelvin */ | 265 | /* now vt hold the temperature in Kelvin */ |
266 | priv->temperature = KELVIN_TO_CELSIUS(vt); | 266 | priv->temperature = KELVIN_TO_CELSIUS(vt); |