qcacmn: Add debug logs in cp_stats event path
In the issue reported, the clear stats request from the user space is timing out because event id from firmware is not received. From the logs it is not clear whether host driver received it or dropped it in the error path. Add debug logs, to make sure cp_stats event id is received in the host driver and also in error cases. Change-Id: I634714281db4a82826791725ec38fd589334cde8 CRs-Fixed: 2926978
This commit is contained in:

committed by
snandini

parent
bc95e4ed45
commit
216b52af2f
@@ -4938,8 +4938,10 @@ extract_cp_stats_more_pending_tlv(wmi_unified_t wmi, void *evt_buf,
|
||||
wmi_ctrl_path_stats_event_fixed_param *ev;
|
||||
|
||||
param_buf = (WMI_CTRL_PATH_STATS_EVENTID_param_tlvs *)evt_buf;
|
||||
if (!param_buf)
|
||||
if (!param_buf) {
|
||||
wmi_err_rl("param_buf is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
ev = (wmi_ctrl_path_stats_event_fixed_param *)param_buf->fixed_param;
|
||||
|
||||
*more_flag = ev->more;
|
||||
|
Reference in New Issue
Block a user