Merge "icnss: Do not collect MSA0 dump during Modem WDOG bite" into msm-4.4

This commit is contained in:
Service qcabuildsw 2016-12-19 09:57:36 -08:00 committed by Gerrit - the friendly Code Review server
commit eac971fc26

View file

@ -2822,7 +2822,8 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb,
icnss_pr_dbg("Modem-Notify: event %lu\n", code);
if (code == SUBSYS_AFTER_SHUTDOWN) {
if (code == SUBSYS_AFTER_SHUTDOWN &&
notif->crashed != CRASH_STATUS_WDOG_BITE) {
icnss_remove_msa_permissions(priv);
icnss_pr_info("Collecting msa0 segment dump\n");
icnss_msa0_ramdump(priv);