esp32s3/wifi: Fix Wi-Fi connection to WPA3-SAE APs.
This commit fix the connection issues while trying to connect to WPA3-SAE-secured Access Points (APs).
This commit is contained in:
parent
f221878204
commit
8fb05d44bc
@ -5125,6 +5125,7 @@ int esp_wifi_sta_essid(struct iwreq *iwr, bool set)
|
||||
{
|
||||
memset(wifi_cfg.sta.ssid, 0x0, SSID_MAX_LEN);
|
||||
memcpy(wifi_cfg.sta.ssid, pdata, len);
|
||||
memset(wifi_cfg.sta.sae_h2e_identifier, 0x0, SAE_H2E_IDENTIFIER_LEN);
|
||||
wifi_cfg.sta.sae_pwe_h2e = WPA3_SAE_PWE_BOTH;
|
||||
|
||||
if (g_sta_connected)
|
||||
|
Loading…
Reference in New Issue
Block a user