浏览代码

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
Kiran Kumar Lokere 4 年之前
父节点
当前提交
ca4db85bc2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/wma/src/wma_scan_roam.c

+ 1 - 0
core/wma/src/wma_scan_roam.c

@@ -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));