aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dm9000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r--drivers/net/dm9000.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index 5ad2ec537684..92233400e6f9 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -343,6 +343,8 @@ static int dm9000_wait_eeprom(board_info_t *db)
343 if ((status & EPCR_ERRE) == 0) 343 if ((status & EPCR_ERRE) == 0)
344 break; 344 break;
345 345
346 msleep(1);
347
346 if (timeout-- < 0) { 348 if (timeout-- < 0) {
347 dev_dbg(db->dev, "timeout waiting EEPROM\n"); 349 dev_dbg(db->dev, "timeout waiting EEPROM\n");
348 break; 350 break;