qcacmn: remove panic if the tag length and filled data are not matching

Remove panic when tlv doesn't matching attributes, the following commit
takes away a chance to pass invalid values tlv to test the the wmi event
hence reverting commit ca24670e56.


Change-Id: Iafff2067288c8a6fafa016f21b1d7fdfdcb0753e
CRs-Fixed: 2706245
This commit is contained in:
Arun Kumar Khandavalli
2020-06-09 20:44:35 +05:30
committed by nshrivas
parent 632567aa36
commit 1eb43f3787

View File

@@ -2415,8 +2415,9 @@ void __wmi_control_rx(struct wmi_unified *wmi_handle, wmi_buf_t evt_buf)
data, len, id,
&wmi_cmd_struct_ptr);
if (tlv_ok_status != 0) {
QDF_DEBUG_PANIC("%s: Error: id=0x%x, wmitlv check status=%d",
__func__, id, tlv_ok_status);
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_ERROR,
"%s: Error: id=0x%x, wmitlv check status=%d",
__func__, id, tlv_ok_status);
goto end;
}
}