소스 검색

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) {