Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143474
b: refs/heads/master
c: 3664090
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and David S. Miller committed Apr 16, 2009
1 parent 7f4d634 commit dba8a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d8d05ae66f40642987486f4b107565fc561a77c
refs/heads/master: 3664090e199f10cb0282097faae8f8ca58c1e4ae
5 changes: 2 additions & 3 deletions trunk/drivers/net/phy/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ void phy_start_machine(struct phy_device *phydev,
phydev->adjust_state = handler;

INIT_DELAYED_WORK(&phydev->state_queue, phy_state_machine);
schedule_delayed_work(&phydev->state_queue, jiffies + HZ);
schedule_delayed_work(&phydev->state_queue, HZ);
}

/**
Expand Down Expand Up @@ -946,6 +946,5 @@ static void phy_state_machine(struct work_struct *work)
if (err < 0)
phy_error(phydev);

schedule_delayed_work(&phydev->state_queue,
jiffies + PHY_STATE_TIME * HZ);
schedule_delayed_work(&phydev->state_queue, PHY_STATE_TIME * HZ);
}

0 comments on commit dba8a19

Please sign in to comment.