qcacld-3.0: Fix issue with OBSS scan cmd send failure

OBSS scan enable WMI command is not correctly set for one of
the TLV of the command which corrupted the length of the next
TLV of the command and lead to command send failure.

Correct the buffer offset of the TLV in the OBSS scan WMI command.

Change-Id: Ieb9467c52ae9d9dab602485b4b63fc9de48e6924
CRs-Fixed: 2681000
This commit is contained in:
Kiran Kumar Lokere 2020-05-11 17:22:46 -07:00 committed by nshrivas
parent a04e1c5dd8
commit ca4db85bc2

View File

@ -6236,6 +6236,7 @@ QDF_STATUS wma_send_ht40_obss_scanind(tp_wma_handle wma,
sizeof(uint32_t));
WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_BYTE,
qdf_roundup(1, sizeof(uint32_t)));
buf_ptr += WMI_TLV_HDR_SIZE;
buf_ptr += qdf_roundup(sizeof(uint8_t) * 1, sizeof(uint32_t));