Merge "icnss: Remove MSA0 permission only when modem is crashed"
This commit is contained in:
commit
e648f8c78b
1 changed files with 2 additions and 1 deletions
|
@ -2493,7 +2493,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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue