wpa_supplicant : Add deinitialization of Enterprise config_methods.

Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
This commit is contained in:
jgujarathi 2023-02-17 17:21:41 +05:30
parent f283b589ed
commit 6279e58c42

View File

@ -646,6 +646,7 @@ void eap_peer_config_deinit(struct eap_sm *sm)
os_free(sm->config.new_password);
os_free(sm->config.eap_methods);
os_bzero(&sm->config, sizeof(struct eap_peer_config));
config_methods = NULL;
}
int eap_peer_blob_init(struct eap_sm *sm)