mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
f283b589ed
commit
6279e58c42
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user