Skip to content

Commit 5361d58

Browse files
committed
Revert "WiFiSTA - allow using DHCP again after disconnecting static IP (espressif#8848)"
This reverts commit a9a72d1.
1 parent fbfcb80 commit 5361d58

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/WiFi/src/WiFiSTA.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ bool WiFiSTAClass::disconnect(bool wifioff, bool eraseap)
373373
wifi_sta_config(&conf);
374374

375375
if(WiFi.getMode() & WIFI_MODE_STA){
376-
_useStaticIp = false;
377376
if(eraseap){
378377
if(esp_wifi_set_config((wifi_interface_t)ESP_IF_WIFI_STA, &conf)){
379378
log_e("clear config failed!");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy