Review comments

This commit is contained in:
jpirnay
2026-04-21 22:16:23 +02:00
parent 157a19ff35
commit 7da8b335ab
7 changed files with 82 additions and 53 deletions
@@ -280,6 +280,11 @@ bool WifiSelectionActivity::checkCaptivePortal() {
String location = http.getLocation();
http.end();
if (code < 0) {
LOG_DBG("WIFI", "Captive portal probe failed (connection error %d)", code);
return false;
}
if (code == 204) {
return false; // Open internet, no captive portal
}