Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 40a5c1e

Browse filesBrowse files
authored
Change default WiFi encryption to WIFI_AUTH_WPA2_PSK (espressif#6022)
Fixes: espressif#6020
1 parent 2981bde commit 40a5c1e
Copy full SHA for 40a5c1e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎libraries/WiFi/src/WiFiSTA.cpp

Copy file name to clipboardExpand all lines: libraries/WiFi/src/WiFiSTA.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static void wifi_sta_config(wifi_config_t * wifi_config, const char * ssid=NULL,
9292
wifi_config->sta.pmf_cfg.required = pmf_required;
9393
wifi_config->sta.bssid_set = 0;
9494
memset(wifi_config->sta.bssid, 0, 6);
95-
wifi_config->sta.threshold.authmode = WIFI_AUTH_OPEN;
95+
wifi_config->sta.threshold.authmode = WIFI_AUTH_WPA2_PSK;
9696
wifi_config->sta.ssid[0] = 0;
9797
wifi_config->sta.password[0] = 0;
9898
if(ssid != NULL && ssid[0] != 0){

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.