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

Commit 540d211a authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by Hamad Kadmany
Browse files

wil6210: improve dmesg for fw error handling



In case of FW error, make it clear (in dmesg) what branch is taken
in the error recovery code.

Change-Id: I8aa23cc999fe7851f27fe59b523ee4255214c2b0
Signed-off-by: default avatarVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Git-commit: e240537b4c7303748fe44e03a6309d1d55893cd3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git


Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 8175c9c7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -267,9 +267,12 @@ static void wil_fw_error_worker(struct work_struct *work)
		break;
	case NL80211_IFTYPE_AP:
	case NL80211_IFTYPE_P2P_GO:
		wil_info(wil, "No recovery for AP-like interface\n");
		/* recovery in these modes is done by upper layers */
		break;
	default:
		wil_err(wil, "No recovery - unknown interface type %d\n",
			wdev->iftype);
		break;
	}
	mutex_unlock(&wil->mutex);