Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[etherfabric] Avoid use of sleep() in driver code
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Mar 22, 2016
1 parent c640b95 commit 59bae32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/net/etherfabric.c
Expand Up @@ -4006,7 +4006,7 @@ efab_init_mac ( struct efab_nic *efab )
* because we want to use it, or because we're about
* to reset the mac anyway
*/
sleep ( 2 );
mdelay ( 2000 );

if ( ! efab->link_up ) {
EFAB_ERR ( "!\n" );
Expand Down

0 comments on commit 59bae32

Please sign in to comment.