Allow wifi setup to proceed when there is no sta or ap (#1931)

This commit is contained in:
Jesse Hills 2021-06-21 09:00:16 +12:00 committed by GitHub
parent c5eba21ff6
commit 40a5005d94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -587,7 +587,7 @@ void WiFiComponent::retry_connect() {
} }
bool WiFiComponent::can_proceed() { bool WiFiComponent::can_proceed() {
if (this->has_ap() && !this->has_sta()) { if (!this->has_sta()) {
return true; return true;
} }
return this->is_connected(); return this->is_connected();