Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
c6f1baf93f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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) {