summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl3945-base.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-08-27 19:41:37 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-09-11 17:50:59 +0200
commit6e6ebf4befa75ebdf28130d0135f3ad3aadc02f8 (patch)
treeaee33e546d82346a6144ec0e11921b3c9b9b7e10 /drivers/net/wireless/iwlwifi/iwl3945-base.c
parentiwlwifi: fix default LQ table in 5.2 band (diff)
downloadlinux-6e6ebf4befa75ebdf28130d0135f3ad3aadc02f8.tar.xz
linux-6e6ebf4befa75ebdf28130d0135f3ad3aadc02f8.zip
iwlwifi: remember the last uCode sysassert error code
When sysassert happen, uCode will report the error code, driver dump the information to dmesg. Here also remember the last error code for future reference. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 68e624afb987..9c90be1ea0df 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -1730,7 +1730,6 @@ static void iwl3945_irq_tasklet(struct iwl_priv *priv)
IWL_ERR(priv, "Microcode SW error detected. "
"Restarting 0x%X.\n", inta);
priv->isr_stats.sw++;
- priv->isr_stats.sw_err = inta;
iwl_irq_handle_error(priv);
handled |= CSR_INT_BIT_SW_ERR;
}