summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/hif.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2012-08-29 18:10:26 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-10-24 12:49:48 +0400
commit84caf8005b09e0a4a57fce44119489d1b0bbbe94 (patch)
tree073cc27545956f8f4e4bd38119d974d015459b63 /drivers/net/wireless/ath/ath6kl/hif.c
parentede615d2f043539e23bc4022955dbe0c3ec70ca2 (diff)
downloadlinux-84caf8005b09e0a4a57fce44119489d1b0bbbe94.tar.xz
ath6kl: Recover from fw crash
Re-initialize the target when fw crash is reported. This would make the device functional again after target crash. During the target re-initialization it is made sure that target is not bugged with data/cmd request, ar->state ATH6KL_STATE_RECOVERY is used for this purpose. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@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 68ed6c2665b7..029914a22ea0 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.c
+++ b/drivers/net/wireless/ath/ath6kl/hif.c
@@ -136,6 +136,7 @@ static int ath6kl_hif_proc_dbg_intr(struct ath6kl_device *dev)
ath6kl_hif_dump_fw_crash(dev->ar);
ath6kl_read_fwlogs(dev->ar);
+ ath6kl_recovery_err_notify(dev->ar, ATH6KL_FW_ASSERT);
return ret;
}