Skip to content

Commit d05bfe5

Browse files
JAndrassyhasenradball
authored andcommitted
Revert "WiFiSTA - allow using DHCP again after disconnecting static IP (esp8266#9020)" (esp8266#9028)
This reverts commit 0c599ee.
1 parent 4bfcc84 commit d05bfe5

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)