summaryrefslogtreecommitdiffstats
path: root/src/usr/lotest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/lotest.c')
-rw-r--r--src/usr/lotest.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/usr/lotest.c b/src/usr/lotest.c
index 905290a5..51d1a5d6 100644
--- a/src/usr/lotest.c
+++ b/src/usr/lotest.c
@@ -39,8 +39,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
*
*/
-#define LINK_WAIT_MS 15000
-
/**
* Process received packet
*
@@ -189,9 +187,9 @@ int loopback_test ( struct net_device *sender, struct net_device *receiver,
return rc;
/* Wait for link-up */
- if ( ( rc = iflinkwait ( sender, LINK_WAIT_MS ) ) != 0 )
+ if ( ( rc = iflinkwait ( sender, 0 ) ) != 0 )
return rc;
- if ( ( rc = iflinkwait ( receiver, LINK_WAIT_MS ) ) != 0 )
+ if ( ( rc = iflinkwait ( receiver, 0 ) ) != 0 )
return rc;
/* Allocate data buffer */