Merge branch 'bugfix/fix_station_example_authmode_threshold_issue' into 'release/v4.3'

fix(wifi): fix station example authmode threshold issue

See merge request espressif/esp-idf!25985
This commit is contained in:
Jiang Jiang Jian
2023-09-18 10:30:11 +08:00

View File

@ -114,7 +114,7 @@ void wifi_init_sta(void)
/* Setting a password implies station will connect to all security modes including WEP/WPA. /* Setting a password implies station will connect to all security modes including WEP/WPA.
* However these modes are deprecated and not advisable to be used. Incase your Access point * However these modes are deprecated and not advisable to be used. Incase your Access point
* doesn't support WPA2, these mode can be enabled by commenting below line */ * doesn't support WPA2, these mode can be enabled by commenting below line */
.threshold.authmode = WIFI_AUTH_WPA3_PSK, .threshold.authmode = ESP_WIFI_SCAN_AUTH_MODE_THRESHOLD,
.sae_pwe_h2e = WPA3_SAE_PWE_BOTH, .sae_pwe_h2e = WPA3_SAE_PWE_BOTH,
}, },
}; };