All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath6kl: Collect residue firmware logs
@ 2012-02-29  1:18 Etay Luz
  2012-03-01  6:48 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Etay Luz @ 2012-02-29  1:18 UTC (permalink / raw)
  To: linux-wireless; +Cc: ath6kl-devel

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>
---
 drivers/net/wireless/ath/ath6kl/hif.c |    1 +
 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 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;
 }
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ath6kl: Collect residue firmware logs
  2012-02-29  1:18 [PATCH] ath6kl: Collect residue firmware logs Etay Luz
@ 2012-03-01  6:48 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2012-03-01  6:48 UTC (permalink / raw)
  To: Etay Luz; +Cc: linux-wireless, ath6kl-devel

On 02/29/2012 03:18 AM, Etay Luz wrote:
> 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>

Thanks, applied.

Kalle

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-01  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-29  1:18 [PATCH] ath6kl: Collect residue firmware logs Etay Luz
2012-03-01  6:48 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.