Skip to content

Commit

Permalink
WifiAP disable insecure TKIP (#5122)
Browse files Browse the repository at this point in the history
fixes #4805
  • Loading branch information
Rotzbua committed Jun 10, 2021
1 parent e7e94ea commit aec2635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/WiFi/src/WiFiAP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void wifi_softap_config(wifi_config_t *wifi_config, const char * ssid=NULL, cons
wifi_config->ap.ssid_len = strlen(ssid);
if(password != NULL && password[0] != 0){
wifi_config->ap.authmode = authmode;
wifi_config->ap.pairwise_cipher = WIFI_CIPHER_TYPE_CCMP; // Disable by default enabled insecure TKIP and use just CCMP.
snprintf((char*)wifi_config->ap.password, 64, password);
}
}
Expand Down

0 comments on commit aec2635

Please sign in to comment.