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
#9020)" (#9028)

This reverts commit 0c599ee.
  • Loading branch information
JAndrassy committed Nov 12, 2023
1 parent ee95373 commit 5e0ed3a
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 5e0ed3a

Please sign in to comment.