aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/benet/be_cmds.c')
-rw-r--r--drivers/net/benet/be_cmds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index d558b9088d7e..f2c90997fabd 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -298,8 +298,7 @@ static int be_mbox_db_ready_wait(struct be_adapter *adapter, void __iomem *db)
298 return -1; 298 return -1;
299 } 299 }
300 300
301 set_current_state(TASK_INTERRUPTIBLE); 301 msleep(1);
302 schedule_timeout(msecs_to_jiffies(1));
303 msecs++; 302 msecs++;
304 } while (true); 303 } while (true);
305 304