Skip to content

Commit 0e8dcb1

Browse files
committed
Revert "WiFiSTA - allow using DHCP again after disconnecting static IP (esp8266#9020)"
This reverts commit 0c599ee.
1 parent 7fc2caa commit 0e8dcb1

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)