qcacld-3.0: Fix WLAN IPA event completion timeout
qdf_wait_for_event_completion() needs a timeout value in milliseconds. msecs_to_jiffies() is not needed to convert timeout value into jiffies. Change-Id: I95315f937d651fd200f58d89f44eb167c6f29cc8 CRs-Fixed: 2250143
This commit is contained in:
@@ -1367,7 +1367,7 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
/* Wait until completion of the long/unloading */
|
||||
status = qdf_wait_for_event_completion(
|
||||
&ipa_ctx->ipa_resource_comp,
|
||||
msecs_to_jiffies(IPA_RESOURCE_COMP_WAIT_TIME));
|
||||
IPA_RESOURCE_COMP_WAIT_TIME);
|
||||
if (status != QDF_STATUS_SUCCESS) {
|
||||
/*
|
||||
* If timed out, store the events separately and
|
||||
|
@@ -885,7 +885,7 @@ void wlan_ipa_wdi_meter_notifier_cb(qdf_ipa_wdi_meter_evt_type_t evt,
|
||||
QDF_IPA_GET_WDI_SAP_STATS_RESET_STATS(wdi_sap_stats));
|
||||
status = qdf_wait_for_event_completion(
|
||||
&ipa_ctx->ipa_uc_sharing_stats_comp,
|
||||
msecs_to_jiffies(IPA_UC_SHARING_STATES_WAIT_TIME));
|
||||
IPA_UC_SHARING_STATES_WAIT_TIME);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
ipa_err("IPA uC share stats request timed out");
|
||||
QDF_IPA_GET_WDI_SAP_STATS_STATS_VALID(wdi_sap_stats)
|
||||
@@ -925,7 +925,7 @@ void wlan_ipa_wdi_meter_notifier_cb(qdf_ipa_wdi_meter_evt_type_t evt,
|
||||
|
||||
status = qdf_wait_for_event_completion(
|
||||
&ipa_ctx->ipa_uc_set_quota_comp,
|
||||
msecs_to_jiffies(IPA_UC_SET_QUOTA_WAIT_TIME));
|
||||
IPA_UC_SET_QUOTA_WAIT_TIME);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
ipa_err("IPA uC set quota request timed out");
|
||||
QDF_IPA_SET_WIFI_QUOTA_SET_VALID(ipa_set_quota) = 0;
|
||||
|
Reference in New Issue
Block a user