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 5940d89

Browse filesBrowse files
committed
Fix wrongly applied patch to WiFi STA Init
1 parent bb09615 commit 5940d89
Copy full SHA for 5940d89

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎libraries/WiFi/src/WiFiSTA.cpp

Copy file name to clipboardExpand all lines: libraries/WiFi/src/WiFiSTA.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ 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_WPA2_PSK;
95+
wifi_config->sta.threshold.authmode = WIFI_AUTH_OPEN;
9696
wifi_config->sta.ssid[0] = 0;
9797
wifi_config->sta.password[0] = 0;
9898
if(ssid != NULL && ssid[0] != 0){
9999
_wifi_strncpy((char*)wifi_config->sta.ssid, ssid, 32);
100100
if(password != NULL && password[0] != 0){
101-
wifi_config->sta.threshold.authmode = WIFI_AUTH_WEP;
101+
wifi_config->sta.threshold.authmode = WIFI_AUTH_WPA2_PSK;
102102
_wifi_strncpy((char*)wifi_config->sta.password, password, 64);
103103
}
104104
if(bssid != NULL){

0 commit comments

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