This commit is contained in:
zhekun 2026-08-01 20:27:30 +08:00 committed by GitHub
commit cf22b5aba8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ static void tcp_sendcommon(FAR struct net_driver_s *dev,
}
else
{
if (work_available(&conn->work) && conn->tx_unacked != 0)
if (conn->tx_unacked != 0)
{
conn->timeout = false;
tcp_update_retrantimer(conn, conn->rto);