diff options
author | Naveen Gangadharan <ngangadh@qca.qualcomm.com> | 2012-02-08 01:53:32 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-02-08 04:44:41 -0500 |
commit | 3b96d49a79021ce4c1ca26aecd784d16aeb91a7c (patch) | |
tree | 3b50908f11eef64fb1f485f3daa7061e9daed73b /drivers/net/wireless/ath/ath6kl | |
parent | fb1ac2efa323de21bc83c1b3d326d06f8251ea4f (diff) |
ath6kl: Fix firmware crash dump
The firmware crash dump printout was wrong as it was using incorrect
offsets.
kvalo: improve commit log, change the "%d:" to print word indexes, not bytes
Signed-off-by: Naveen Gangadharan <ngangadh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/hif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.c b/drivers/net/wireless/ath/ath6kl/hif.c index 18c7f6453313..ef650b61740a 100644 --- a/drivers/net/wireless/ath/ath6kl/hif.c +++ b/drivers/net/wireless/ath/ath6kl/hif.c | |||
@@ -107,9 +107,9 @@ static void ath6kl_hif_dump_fw_crash(struct ath6kl *ar) | |||
107 | 107 | ||
108 | BUILD_BUG_ON(REG_DUMP_COUNT_AR6003 % 4); | 108 | BUILD_BUG_ON(REG_DUMP_COUNT_AR6003 % 4); |
109 | 109 | ||
110 | for (i = 0; i < REG_DUMP_COUNT_AR6003 / 4; i++) { | 110 | for (i = 0; i < REG_DUMP_COUNT_AR6003; i += 4) { |
111 | ath6kl_info("%d: 0x%8.8x 0x%8.8x 0x%8.8x 0x%8.8x\n", | 111 | ath6kl_info("%d: 0x%8.8x 0x%8.8x 0x%8.8x 0x%8.8x\n", |
112 | 4 * i, | 112 | i, |
113 | le32_to_cpu(regdump_val[i]), | 113 | le32_to_cpu(regdump_val[i]), |
114 | le32_to_cpu(regdump_val[i + 1]), | 114 | le32_to_cpu(regdump_val[i + 1]), |
115 | le32_to_cpu(regdump_val[i + 2]), | 115 | le32_to_cpu(regdump_val[i + 2]), |