瀏覽代碼

qcacmn: Rectify decrement of unparsed Non-Inheritance IE length

At the point in an MLO Manager utility function where we process the
length of the Element ID Extension List in the Non-Inheritance
Information Element, rectify the decrement of the unparsed length so
that it is decremented by the length of the Element ID Extension List
rather than the length of the Element ID List.

CRs-Fixed: 3095660
Change-Id: If4913a47762bc96f26875a04da2880409353fb0e
Krishna Rao 3 年之前
父節點
當前提交
c6f1baf93f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      umac/mlo_mgr/src/utils_mlo.c

+ 1 - 1
umac/mlo_mgr/src/utils_mlo.c

@@ -537,7 +537,7 @@ QDF_STATUS util_get_noninheritlists(uint8_t *buff, qdf_size_t buff_len,
 			*ninherit_elemextlist = ninherit_ie +
 				ELEM_ID_LIST_LEN_POS + (*ninherit_elemlist_len)
 				+ 2;
-			unparsed_len -= *ninherit_elemlist_len;
+			unparsed_len -= *ninherit_elemextlist_len;
 		}
 
 		if (unparsed_len > 0) {