icnss: Ignore MSA0 dump collection during graceful shutdown
Ignore MSA0 dump collection during graceful shutdown. Collect ramdump only when modem is really crashed. CRs-Fixed: 1110935 Change-Id: Ic2fbfec320eb516224daad9ae78be07c61376cfc Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
This commit is contained in:
parent
2dc96b1cbb
commit
7220378f26
1 changed files with 1 additions and 1 deletions
|
@ -1906,7 +1906,7 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb,
|
|||
icnss_pr_dbg("Modem-Notify: event %lu\n", code);
|
||||
|
||||
if (code == SUBSYS_AFTER_SHUTDOWN &&
|
||||
notif->crashed != CRASH_STATUS_WDOG_BITE) {
|
||||
notif->crashed == CRASH_STATUS_ERR_FATAL) {
|
||||
icnss_remove_msa_permissions(priv);
|
||||
icnss_pr_info("Collecting msa0 segment dump\n");
|
||||
icnss_msa0_ramdump(priv);
|
||||
|
|
Loading…
Add table
Reference in a new issue