qcacmn: Change WMI command limit to 256 from 1024
qcacld-2.0 to qcacmn propagation
To debug the fwr stuck issue as early as possibile,
reduce the wmi max pending command threshold to 256
from 1024.
Change-Id: Ic3cbe26cca979dcaa68fca03e6fe1af397cf0c4f
CRs-FIXED: 1080761
diff --git a/wmi_unified.c b/wmi_unified.c
index 84df250..c834978 100644
--- a/wmi_unified.c
+++ b/wmi_unified.c
@@ -1795,7 +1795,8 @@
htc_dump_counter_info(wmi_handle->htc_handle);
qdf_atomic_dec(&wmi_handle->pending_cmds);
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_ERROR,
- "%s: MAX 1024 WMI Pending cmds reached.", __func__);
+ "%s: MAX %d WMI Pending cmds reached.", __func__,
+ WMI_MAX_CMDS);
QDF_BUG(0);
return QDF_STATUS_E_BUSY;
}