From f54957ce09184f7eee46c4ee3a1bc0370f640db8 Mon Sep 17 00:00:00 2001 From: muhaidong Date: Fri, 15 Sep 2023 16:34:29 +0800 Subject: [PATCH] fix(wifi): fix station example authmode threshold issue --- .../wifi/getting_started/station/main/station_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wifi/getting_started/station/main/station_example_main.c b/examples/wifi/getting_started/station/main/station_example_main.c index 4ecab0df92..972bea9028 100644 --- a/examples/wifi/getting_started/station/main/station_example_main.c +++ b/examples/wifi/getting_started/station/main/station_example_main.c @@ -114,7 +114,7 @@ void wifi_init_sta(void) /* 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 * 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, }, };