Fix WiFi Client not properly reporting connected state
This commit is contained in:
parent
79010b6498
commit
3e160587f3
@ -451,8 +451,9 @@ uint8_t WiFiClient::connected()
|
||||
_connected = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else if(res == 0){
|
||||
_connected = false;
|
||||
} else {
|
||||
_connected = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user