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

Commit db1aa0c7 authored by Anurag Chouhan's avatar Anurag Chouhan Committed by Hardik Kantilal Patel
Browse files

icnss: Avoid calling icnss_fw_crashed twice



Avoid calling icnss_fw_crashed two times in case
of back to back root pd shutdown.

Change-Id: I84a6bd9945a27219ddca2ffe2b0929451974a053
Signed-off-by: default avatarAnurag Chouhan <achouhan@codeaurora.org>
Signed-off-by: default avatarHardik Kantilal Patel <hkpatel@codeaurora.org>
parent 0e4c92cb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1297,6 +1297,7 @@ static int icnss_driver_event_pd_service_down(struct icnss_priv *priv,
		goto out;
	}

	if (!test_bit(ICNSS_PD_RESTART, &priv->state))
		icnss_fw_crashed(priv, event_data);

out: