Skip to content

Commit 28da3b1

Browse files
committed
Added verbose debug command
1 parent bcfde7a commit 28da3b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WiFi/WiFiClient.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ uint8_t WiFiClient::connected() {
126126
} else {
127127
uint8_t s = status();
128128

129-
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 || s == FIN_WAIT_2 ||
129+
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 ||
130+
s == FIN_WAIT_2 || s == TIME_WAIT ||
130131
(s == CLOSE_WAIT && !available()));
131132
}
132133
}

0 commit comments

Comments
 (0)