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

Commit 41af1b23 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "icnss: print return value for modem_shutdown_msg"

parents de93b63a d3986351
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1211,8 +1211,10 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb,
		return NOTIFY_OK;

	if (code == SUBSYS_BEFORE_SHUTDOWN && !notif->crashed) {
		if (wlfw_send_modem_shutdown_msg(priv))
			icnss_pr_dbg("Fail to send modem shutdown Indication\n");
		ret = wlfw_send_modem_shutdown_msg(priv);
		if (ret)
			icnss_pr_err("Fail to send modem shutdown Indication %d\n",
				     ret);
	}

	if (test_bit(ICNSS_PDR_REGISTERED, &priv->state)) {