mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-01 14:34:31 +00:00
fix(wpa_supplicant): fix warnings found by GNU static analyzer
This commit is contained in:
@@ -433,6 +433,8 @@ int ieee802_1x_init(struct hostapd_data *hapd)
|
||||
|
||||
os_memset(&conf, 0, sizeof(conf));
|
||||
eap_cfg = os_zalloc(sizeof(struct eap_config));
|
||||
if (!eap_cfg)
|
||||
return -1;
|
||||
eap_cfg->max_auth_rounds = 100;
|
||||
eap_cfg->max_auth_rounds_short = 50;
|
||||
//eap_cfg->backend_auth = 1;
|
||||
|
Reference in New Issue
Block a user