[ifmgmt] Rewrite iflinkwait() to use monojob_wait()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-11-01 17:38:45 +00:00
parent 170d493bf3
commit 16d37102ca
4 changed files with 99 additions and 44 deletions

View File

@@ -14,6 +14,6 @@ struct net_device;
extern int ifopen ( struct net_device *netdev );
extern void ifclose ( struct net_device *netdev );
extern void ifstat ( struct net_device *netdev );
extern int iflinkwait ( struct net_device *netdev, unsigned int max_wait_ms );
extern int iflinkwait ( struct net_device *netdev, unsigned long timeout );
#endif /* _USR_IFMGMT_H */