summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/hif.c
diff options
context:
space:
mode:
authorEtay Luz <eluz@qca.qualcomm.com>2012-02-28 17:18:04 -0800
committerKalle Valo <kvalo@qca.qualcomm.com>2012-03-01 08:47:38 +0200
commitaf840ba7e2886ee69e252e752ebd0cb34e78f6f4 (patch)
tree5a9ea0c38f9702b476920e15852af8cae67a4357 /drivers/net/wireless/ath/ath6kl/hif.c
parent7504a3e1f552cf7447835e7a893bea4bb2d6541d (diff)
downloadblackbird-op-linux-af840ba7e2886ee69e252e752ebd0cb34e78f6f4.tar.gz
blackbird-op-linux-af840ba7e2886ee69e252e752ebd0cb34e78f6f4.zip
ath6kl: Collect residue firmware logs
Collect residue firmware logs following firmware assert. Firmware sends logs to host once the 1500 byte log buffer has been filled. At time of assert, there could be residue logs lying in the firmware. This patch pulls those residue logs. This would give the full picture of the firmware. Signed-off-by: Etay Luz <eluz@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/hif.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.c b/drivers/net/wireless/ath/ath6kl/hif.c
index ef650b61740a..3e569b265332 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.c
+++ b/drivers/net/wireless/ath/ath6kl/hif.c
@@ -135,6 +135,7 @@ static int ath6kl_hif_proc_dbg_intr(struct ath6kl_device *dev)
ath6kl_warn("Failed to clear debug interrupt: %d\n", ret);
ath6kl_hif_dump_fw_crash(dev->ar);
+ ath6kl_read_fwlogs(dev->ar);
return ret;
}
OpenPOWER on IntegriCloud