Use start_timer_nodelay() in protocols which rely on the retry timer
[people/sha0/gpxe.git] / src / net / tcp.c
index 01daf75..28cf95f 100644 (file)
@@ -232,7 +232,7 @@ static int tcp_open ( struct xfer_interface *xfer, struct sockaddr *peer,
                goto err;
 
        /* Start timer to initiate SYN */
-       start_timer ( &tcp->timer );
+       start_timer_nodelay ( &tcp->timer );
 
        /* Attach parent interface, transfer reference to connection
         * list and return