diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rx.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rx.c b/drivers/net/wireless/iwlwifi/iwl-agn-rx.c index d54edc326f81..249b77bbf638 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rx.c | |||
@@ -135,12 +135,12 @@ static void iwl_accumulative_statistics(struct iwl_priv *priv, | |||
135 | } | 135 | } |
136 | 136 | ||
137 | /* reset accumulative statistics for "no-counter" type statistics */ | 137 | /* reset accumulative statistics for "no-counter" type statistics */ |
138 | priv->_agn.accum_statistics.general.temperature = | 138 | priv->_agn.accum_statistics.general.common.temperature = |
139 | priv->_agn.statistics.general.temperature; | 139 | priv->_agn.statistics.general.common.temperature; |
140 | priv->_agn.accum_statistics.general.temperature_m = | 140 | priv->_agn.accum_statistics.general.common.temperature_m = |
141 | priv->_agn.statistics.general.temperature_m; | 141 | priv->_agn.statistics.general.common.temperature_m; |
142 | priv->_agn.accum_statistics.general.ttl_timestamp = | 142 | priv->_agn.accum_statistics.general.common.ttl_timestamp = |
143 | priv->_agn.statistics.general.ttl_timestamp; | 143 | priv->_agn.statistics.general.common.ttl_timestamp; |
144 | priv->_agn.accum_statistics.tx.tx_power.ant_a = | 144 | priv->_agn.accum_statistics.tx.tx_power.ant_a = |
145 | priv->_agn.statistics.tx.tx_power.ant_a; | 145 | priv->_agn.statistics.tx.tx_power.ant_a; |
146 | priv->_agn.accum_statistics.tx.tx_power.ant_b = | 146 | priv->_agn.accum_statistics.tx.tx_power.ant_b = |
@@ -232,8 +232,8 @@ void iwl_rx_statistics(struct iwl_priv *priv, | |||
232 | (int)sizeof(priv->_agn.statistics), | 232 | (int)sizeof(priv->_agn.statistics), |
233 | le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK); | 233 | le32_to_cpu(pkt->len_n_flags) & FH_RSCSR_FRAME_SIZE_MSK); |
234 | 234 | ||
235 | change = ((priv->_agn.statistics.general.temperature != | 235 | change = ((priv->_agn.statistics.general.common.temperature != |
236 | pkt->u.stats.general.temperature) || | 236 | pkt->u.stats.general.common.temperature) || |
237 | ((priv->_agn.statistics.flag & | 237 | ((priv->_agn.statistics.flag & |
238 | STATISTICS_REPLY_FLG_HT40_MODE_MSK) != | 238 | STATISTICS_REPLY_FLG_HT40_MODE_MSK) != |
239 | (pkt->u.stats.flag & STATISTICS_REPLY_FLG_HT40_MODE_MSK))); | 239 | (pkt->u.stats.flag & STATISTICS_REPLY_FLG_HT40_MODE_MSK))); |