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

Commit 328319f2 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 2dedf765 fd554860
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2651,7 +2651,9 @@ event_post:
	clear_bit(ICNSS_HOST_TRIGGERED_PDR, &priv->state);

	fw_down_data.crashed = event_data->crashed;
	icnss_call_driver_uevent(priv, ICNSS_UEVENT_FW_DOWN, &fw_down_data);
	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,
				ICNSS_EVENT_SYNC, event_data);
done: