Skip to content

Commit

Permalink
Revert "fix(wifi): fixes isconnected() to return true when it has ip …
Browse files Browse the repository at this point in the history
…addr (espressif#10595)"

This reverts commit e99f1fd.
  • Loading branch information
UnexpectedMaker committed Nov 18, 2024
1 parent e99f1fd commit 221eadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/WiFi/src/WiFiSTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ bool WiFiSTAClass::bandwidth(wifi_bandwidth_t bandwidth) {
* @return true if STA is connected to an AP
*/
bool WiFiSTAClass::isConnected() {
return STA.connected() && STA.hasIP();
return STA.connected();
}

/**
Expand Down

0 comments on commit 221eadc

Please sign in to comment.