qcacmn: Fix FILS IE parsing issue

Fix FILS IE parsing issue in assoc response frame.

Change-Id: I45b554c215280533ae6831d51526b8b98bc46c94
CRs-Fixed: 2329206
This commit is contained in:
Subrat Mishra 2018-10-08 14:10:51 +05:30 • committed by nshrivas
commit d95bfa449c

View file

@ -143,14 +143,12 @@ fils_parse_ie(qdf_nbuf_t wbuf, uint8_t hdrlen, uint8_t **cap_info,
pktlen_left, elem_id);
crypto_err("len:%dextid:%d", len, *frm);
return QDF_STATUS_E_INVAL;
}
if (*frm == WLAN_ELEMID_EXT_FILS_SESSION) {
fils_found = 1;
break;
}
frm++;
pktlen_left--;
if (*frm == WLAN_ELEMID_EXT_FILS_SESSION) {
fils_found = 1;
break;
}
}
if (len > pktlen_left) {