qcacmn: Do not limit the max length of RSN/WPA IE as 28

Do not limit the max length of RSN/WPA IE as they can contain multiple AKM
and CIPHER. We need to consider all the variables to limit the max length.

Change-Id: I204f86d7c773d0c104ad1f58b3648d6c5577af94
CRs-Fixed: 3051247
Este commit está contenido en:
Shashikala Prabhu
2021-10-06 09:05:16 +05:30
cometido por Madan Koyyalamudi
padre 9abbd66770
commit f833646e06
Se han modificado 2 ficheros con 0 adiciones y 4 borrados

Ver fichero

@@ -979,9 +979,6 @@ util_scan_parse_vendor_ie(struct scan_cache_entry *scan_params,
scan_params->ie_list.vendor = (uint8_t *)ie;
if (is_wpa_oui((uint8_t *)ie)) {
if (ie->ie_len > WLAN_VENDOR_WPA_IE_LEN)
return QDF_STATUS_E_INVAL;
scan_params->ie_list.wpa = (uint8_t *)ie;
} else if (is_wps_oui((uint8_t *)ie)) {
scan_params->ie_list.wps = (uint8_t *)ie;