Skip to content

Commit 5e0ed3a

Browse files
authored
Revert "WiFiSTA - allow using DHCP again after disconnecting static IP (#9020)" (#9028)
This reverts commit 0c599ee.
1 parent ee95373 commit 5e0ed3a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,6 @@ bool ESP8266WiFiSTAClass::disconnect(bool wifioff, bool eraseCredentials) {
423423
WiFi.enableSTA(false);
424424
}
425425

426-
_useStaticIp = false;
427-
428426
return ret;
429427
}
430428

0 commit comments

Comments
 (0)