Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 948d75f9 authored by Maya Erez's avatar Maya Erez Committed by Maya Erez
Browse files

wil6210: check no_fw_recovery in resume failure recovery



Reset 11ad device on resume failure only if no_fw_recovery
is not set.

Change-Id: Id90cc9973c2e06f3e9eeae32d3c9065e49f90212
Signed-off-by: default avatarMaya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
Git-commit: c6622116c5ae56aec47dd3d63be49cabf591162a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git


Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
parent b3f87385
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -85,7 +85,9 @@ static int wil_resume_keep_radio_on(struct wil6210_priv *wil)
	/* Send WMI resume request to the device */
	rc = wmi_resume(wil);
	if (rc) {
		wil_err(wil, "device failed to resume (%d), resetting\n", rc);
		wil_err(wil, "device failed to resume (%d)\n", rc);
		if (no_fw_recovery)
			goto out;
		rc = wil_down(wil);
		if (rc) {
			wil_err(wil, "wil_down failed (%d)\n", rc);