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

Commit 34c89b33 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "icnss: Do not assert if reboot requested during PDR"

parents ebfd6868 42ed2ccb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2329,7 +2329,7 @@ static int icnss_driver_event_pd_service_down(struct icnss_priv *priv,
	if (!test_bit(ICNSS_WLFW_EXISTS, &priv->state))
		goto out;

	if (test_bit(ICNSS_PD_RESTART, &priv->state)) {
	if (test_bit(ICNSS_PD_RESTART, &priv->state) && event_data->crashed) {
		icnss_pr_err("PD Down while recovery inprogress, crashed: %d, state: 0x%lx\n",
			     event_data->crashed, priv->state);
		ICNSS_ASSERT(0);