aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/8139cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/8139cp.c')
-rw-r--r--drivers/net/8139cp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c
index ebc20d9e7d7b..bd99c268e2da 100644
--- a/drivers/net/8139cp.c
+++ b/drivers/net/8139cp.c
@@ -1029,8 +1029,7 @@ static void cp_reset_hw (struct cp_private *cp)
1029 if (!(cpr8(Cmd) & CmdReset)) 1029 if (!(cpr8(Cmd) & CmdReset))
1030 return; 1030 return;
1031 1031
1032 set_current_state(TASK_UNINTERRUPTIBLE); 1032 schedule_timeout_uninterruptible(10);
1033 schedule_timeout(10);
1034 } 1033 }
1035 1034
1036 printk(KERN_ERR "%s: hardware reset timeout\n", cp->dev->name); 1035 printk(KERN_ERR "%s: hardware reset timeout\n", cp->dev->name);