Lines Matching defs:config
730 struct wpa_config *config;
733 config = malloc(sizeof (*config));
734 if (config == NULL)
736 (void) memset(config, 0, sizeof (*config));
737 config->eapol_version = 1; /* fixed value */
743 wpa_config_free(config);
744 config = NULL;
746 config->ssid = ssid;
749 return (config);
753 wpa_config_free(struct wpa_config *config)
755 struct wpa_ssid *ssid = config->ssid;
762 free(config);