qcacmn: Request stats over qmi only when target suspend is success
Currently, Stats request commands are sent over qmi right from the target suspend request is sent to FW. This is leading to a crash in FW since it is trying to access PCI when it is in suspend state. To address this, send stats request over QMI only after the ack is received for the target suspend command. Change-Id: Id7a79d52740916f66476bf911e571c0ff466c7d3 CRs-Fixed: 2838737
This commit is contained in:
@@ -2532,6 +2532,7 @@ struct wmi_unified {
|
||||
#endif /*WMI_INTERFACE_EVENT_LOGGING */
|
||||
|
||||
qdf_atomic_t is_target_suspended;
|
||||
qdf_atomic_t is_target_suspend_acked;
|
||||
#ifdef WLAN_FEATURE_WMI_SEND_RECV_QMI
|
||||
bool is_qmi_stats_enabled;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user