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

Commit f6f178e7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "icnss: Remove MSA0 permission only when modem is crashed"

parents ecab2680 7e50ffd6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2480,7 +2480,8 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb,

	icnss_pr_vdbg("Modem-Notify: event %lu\n", code);

	if (code == SUBSYS_AFTER_SHUTDOWN) {
	if (code == SUBSYS_AFTER_SHUTDOWN &&
	    notif->crashed == CRASH_STATUS_ERR_FATAL) {
		ret = icnss_assign_msa_perm_all(priv,
						ICNSS_MSA_PERM_DUMP_COLLECT);
		if (!ret) {