Lines Matching refs:methods
1573 struct eap_method_type *methods = NULL, *tmp; in wpa_config_parse_eap() local
1591 tmp = methods; in wpa_config_parse_eap()
1592 methods = os_realloc_array(methods, num_methods + 1, in wpa_config_parse_eap()
1593 sizeof(*methods)); in wpa_config_parse_eap()
1594 if (methods == NULL) { in wpa_config_parse_eap()
1599 methods[num_methods].method = eap_peer_get_type( in wpa_config_parse_eap()
1600 start, &methods[num_methods].vendor); in wpa_config_parse_eap()
1601 if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1602 methods[num_methods].method == EAP_TYPE_NONE) { in wpa_config_parse_eap()
1610 } else if (methods[num_methods].vendor == EAP_VENDOR_IETF && in wpa_config_parse_eap()
1611 methods[num_methods].method == EAP_TYPE_LEAP) in wpa_config_parse_eap()
1622 tmp = methods; in wpa_config_parse_eap()
1623 methods = os_realloc_array(methods, num_methods + 1, sizeof(*methods)); in wpa_config_parse_eap()
1624 if (methods == NULL) { in wpa_config_parse_eap()
1628 methods[num_methods].vendor = EAP_VENDOR_IETF; in wpa_config_parse_eap()
1629 methods[num_methods].method = EAP_TYPE_NONE; in wpa_config_parse_eap()
1646 if (prev_m[i].vendor == methods[j].vendor && in wpa_config_parse_eap()
1647 prev_m[i].method == methods[j].method) { in wpa_config_parse_eap()
1654 os_free(methods); in wpa_config_parse_eap()
1659 (u8 *) methods, num_methods * sizeof(*methods)); in wpa_config_parse_eap()
1661 ssid->eap.eap_methods = methods; in wpa_config_parse_eap()