Skip to content

Commit

Permalink
Revert "WiFiSTA - allow using DHCP again after disconnecting static IP (
Browse files Browse the repository at this point in the history
esp8266#9020)" (esp8266#9028)

This reverts commit 0c599ee.
  • Loading branch information
JAndrassy authored and jjsuwa-sys3175 committed Nov 14, 2023
1 parent ee95373 commit b268998
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,6 @@ bool ESP8266WiFiSTAClass::disconnect(bool wifioff, bool eraseCredentials) {
WiFi.enableSTA(false);
}

_useStaticIp = false;

return ret;
}

Expand Down

0 comments on commit b268998

Please sign in to comment.