[cmdline] Expose "iflinkwait" as a command

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2021-01-26 17:07:52 +00:00
parent ade4d2b4fe
commit 42db0bd041
4 changed files with 67 additions and 7 deletions
+2 -2
View File
@@ -208,9 +208,9 @@ int loopback_test ( struct net_device *sender, struct net_device *receiver,
return rc;
/* Wait for link-up */
if ( ( rc = iflinkwait ( sender, 0 ) ) != 0 )
if ( ( rc = iflinkwait ( sender, 0, 0 ) ) != 0 )
return rc;
if ( ( rc = iflinkwait ( receiver, 0 ) ) != 0 )
if ( ( rc = iflinkwait ( receiver, 0, 0 ) ) != 0 )
return rc;
/* Allocate data buffer */