Skip to content

Commit aec2635

Browse files
authored
WifiAP disable insecure TKIP (espressif#5122)
fixes espressif#4805
1 parent e7e94ea commit aec2635

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/WiFi/src/WiFiAP.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ void wifi_softap_config(wifi_config_t *wifi_config, const char * ssid=NULL, cons
9292
wifi_config->ap.ssid_len = strlen(ssid);
9393
if(password != NULL && password[0] != 0){
9494
wifi_config->ap.authmode = authmode;
95+
wifi_config->ap.pairwise_cipher = WIFI_CIPHER_TYPE_CCMP; // Disable by default enabled insecure TKIP and use just CCMP.
9596
snprintf((char*)wifi_config->ap.password, 64, password);
9697
}
9798
}

0 commit comments

Comments
 (0)