mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge "icnss: Check for FW_READY state before sending uevent in PD notifier"
This commit is contained in:
commit
8e47769c92
@ -1220,8 +1220,7 @@ event_post:
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user