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;
|
_connected = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
} else if(res == 0){
|
||||||
else {
|
_connected = false;
|
||||||
|
} else {
|
||||||
_connected = true;
|
_connected = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user