qcacmn: Add int16 check in WMI TLV handler

This change is to add missing handling for
INT16 data in the WMI TLV handler.

Change-Id: I5da3f8ef05d2a26221afb50446d3920973897e8d
CRs-Fixed: 3344085
This commit is contained in:
Nidhi Jain
2022-11-23 11:33:16 +05:30
committed by Madan Koyyalamudi
parent 800dddec55
commit f967a39488

View File

@@ -661,6 +661,8 @@ wmitlv_check_and_pad_tlvs(void *os_handle, void *param_struc_ptr,
|| (WMITLV_TAG_ARRAY_BYTE ==
attr_struct_ptr.tag_id)
|| (WMITLV_TAG_ARRAY_FIXED_STRUC ==
attr_struct_ptr.tag_id) ||
(WMITLV_TAG_ARRAY_INT16 ==
attr_struct_ptr.tag_id)) {
tlv_size_diff = 0;
num_of_elems =