qcacmn: Remove one possible reachable assertion
Remove one possible reachable assertion in case tainted FW
easily trigger the assert and perform a denial of service.
Change-Id: I913d619ab6268c0a843d93ed35c63c79b96ac488
CRs-Fixed: 2428205
diff --git a/wmi/src/wmi_unified_ocb_tlv.c b/wmi/src/wmi_unified_ocb_tlv.c
index 357f96e..cd55899 100644
--- a/wmi/src/wmi_unified_ocb_tlv.c
+++ b/wmi/src/wmi_unified_ocb_tlv.c
@@ -744,10 +744,9 @@
if (fix_param->num_channels > ((WMI_SVC_MSG_MAX_SIZE -
sizeof(*fix_param)) / sizeof(wmi_dcc_ndl_stats_per_channel)) ||
fix_param->num_channels > param_tlvs->num_stats_per_channel_list) {
- WMI_LOGE("%s: too many channels:%d actual:%d", __func__,
+ WMI_LOGW("%s: too many channels:%d actual:%d", __func__,
fix_param->num_channels,
param_tlvs->num_stats_per_channel_list);
- QDF_ASSERT(0);
*resp = NULL;
return QDF_STATUS_E_INVAL;
}