aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJay Sternberg <jay.e.sternberg@intel.com>2010-06-14 17:40:40 -0400
committerReinette Chatre <reinette.chatre@intel.com>2010-06-21 13:47:03 -0400
commit8756371589e7d3ad15f1a385e1c09f5ae706b75e (patch)
treebd4b45f8928dac9c918d86109be9377af05253e7 /drivers/net
parent09034cb77ec8530728dd672db7580faeaa29df10 (diff)
iwlwifi: display ucode SW Error in hex
errors are defined in hex but displayed as decimal. displaying as hex debugging easier and eliminated having to manually convert. Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c4
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 294b7ed3c16a..fd245c4e39a1 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -2310,9 +2310,9 @@ void iwl_dump_nic_error_log(struct iwl_priv *priv)
2310 trace_iwlwifi_dev_ucode_error(priv, desc, time, data1, data2, line, 2310 trace_iwlwifi_dev_ucode_error(priv, desc, time, data1, data2, line,
2311 blink1, blink2, ilink1, ilink2); 2311 blink1, blink2, ilink1, ilink2);
2312 2312
2313 IWL_ERR(priv, "Desc Time " 2313 IWL_ERR(priv, "Desc Time "
2314 "data1 data2 line\n"); 2314 "data1 data2 line\n");
2315 IWL_ERR(priv, "%-28s (#%02d) %010u 0x%08X 0x%08X %u\n", 2315 IWL_ERR(priv, "%-28s (0x%04X) %010u 0x%08X 0x%08X %u\n",
2316 desc_lookup(desc), desc, time, data1, data2, line); 2316 desc_lookup(desc), desc, time, data1, data2, line);
2317 IWL_ERR(priv, "pc blink1 blink2 ilink1 ilink2 hcmd\n"); 2317 IWL_ERR(priv, "pc blink1 blink2 ilink1 ilink2 hcmd\n");
2318 IWL_ERR(priv, "0x%05X 0x%05X 0x%05X 0x%05X 0x%05X 0x%05X\n", 2318 IWL_ERR(priv, "0x%05X 0x%05X 0x%05X 0x%05X 0x%05X 0x%05X\n",
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 697fa6caaceb..8eb347106902 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -1424,7 +1424,7 @@ void iwl3945_dump_nic_error_log(struct iwl_priv *priv)
1424 iwl_read_targ_mem(priv, base + i + 6 * sizeof(u32)); 1424 iwl_read_targ_mem(priv, base + i + 6 * sizeof(u32));
1425 1425
1426 IWL_ERR(priv, 1426 IWL_ERR(priv,
1427 "%-13s (#%d) %010u 0x%05X 0x%05X 0x%05X 0x%05X %u\n\n", 1427 "%-13s (0x%X) %010u 0x%05X 0x%05X 0x%05X 0x%05X %u\n\n",
1428 desc_lookup(desc), desc, time, blink1, blink2, 1428 desc_lookup(desc), desc, time, blink1, blink2,
1429 ilink1, ilink2, data1); 1429 ilink1, ilink2, data1);
1430 trace_iwlwifi_dev_ucode_error(priv, desc, time, data1, 0, 1430 trace_iwlwifi_dev_ucode_error(priv, desc, time, data1, 0,