From: Etay Luz Date: Wed, 29 Feb 2012 01:18:04 +0000 (-0800) Subject: ath6kl: Collect residue firmware logs X-Git-Tag: upstream/snapshot3+hdmi~6997^2~57^2~287^2~103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af840ba7e2886ee69e252e752ebd0cb34e78f6f4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/hif.c b/drivers/net/wireless/ath/ath6kl/hif.c index ef650b6..3e569b2 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; }