Merge "icnss: Ignore MSA0 dump collection during graceful shutdown"

This commit is contained in:
Linux Build Service Account 2017-01-13 08:07:55 -08:00 committed by Gerrit - the friendly Code Review server
commit 0b1feeb417

View file

@ -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);