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

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

Merge "icnss: Check for FW_READY state before sending uevent in PD notifier"

parents 2dfcb87d 9e6d8704
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1220,8 +1220,7 @@ static int icnss_service_notifier_notify(struct notifier_block *nb,
	clear_bit(ICNSS_HOST_TRIGGERED_PDR, &priv->state);

	fw_down_data.crashed = event_data->crashed;
	if (test_bit(ICNSS_DRIVER_PROBED, &priv->state) &&
	      !test_bit(ICNSS_PD_RESTART, &priv->state))
	if (test_bit(ICNSS_FW_READY, &priv->state))
		icnss_call_driver_uevent(priv, ICNSS_UEVENT_FW_DOWN,
					 &fw_down_data);
	icnss_driver_event_post(ICNSS_DRIVER_EVENT_PD_SERVICE_DOWN,