Closed
Description
Depending on the use case; by not calling WiFi.mode(WIFI_STA); you create as well an additional AP with the same SSID and password as you original AP that you want to connect to.
This causes issues for the other devices on you wifi network, ranging from disconnect to very bad wifi performance.
Please adapt the example to point that the user should chose one the mode he needs to use.