summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-3945.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-06-08 15:28:25 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-10 14:57:49 -0400
commitecaee0ff07d429a8571ea015c00a211c17a86494 (patch)
treea072a06e6c9d95eacde7a19928ed78376a1dd098 /drivers/net/wireless/iwlegacy/iwl-3945.c
parent3c09b174da3de867e61c4dcca765417a98ba961e (diff)
downloadop-kernel-dev-ecaee0ff07d429a8571ea015c00a211c17a86494.zip
op-kernel-dev-ecaee0ff07d429a8571ea015c00a211c17a86494.tar.gz
iwlegacy: remove recover from statistics
Recover from statistics code was added during 6xxx devices development, I don't think is needed on old devices. Also it is suspicious to cause random, unreproducible microcode errors and hangs. So remove it. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-3945.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-3945.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-3945.c b/drivers/net/wireless/iwlegacy/iwl-3945.c
index d096dc2..5e99584 100644
--- a/drivers/net/wireless/iwlegacy/iwl-3945.c
+++ b/drivers/net/wireless/iwlegacy/iwl-3945.c
@@ -408,7 +408,6 @@ void iwl3945_hw_rx_statistics(struct iwl_priv *priv,
#ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS
iwl3945_accumulative_statistics(priv, (__le32 *)&pkt->u.raw);
#endif
- iwl_legacy_recover_from_statistics(priv, pkt);
memcpy(&priv->_3945.statistics, pkt->u.raw, sizeof(priv->_3945.statistics));
}
OpenPOWER on IntegriCloud