Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66853
b: refs/heads/master
c: 6daf653
h: refs/heads/master
i:
  66851: ea98da4
v: v3
  • Loading branch information
Maciej W. Rozycki authored and David S. Miller committed Oct 10, 2007
1 parent e1995a0 commit 32de3b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 0ac49527318bc388a881152d60f49d7951606024
refs/heads/master: 6daf65310374d24d888201b7a6eba90b44008b7b
4 changes: 2 additions & 2 deletions trunk/drivers/net/phy/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,6 @@ void phy_stop(struct phy_device *phydev)
if (PHY_HALTED == phydev->state)
goto out_unlock;

phydev->state = PHY_HALTED;

if (phydev->irq != PHY_POLL) {
/* Disable PHY Interrupts */
phy_config_interrupt(phydev, PHY_INTERRUPT_DISABLED);
Expand All @@ -747,6 +745,8 @@ void phy_stop(struct phy_device *phydev)
phy_clear_interrupt(phydev);
}

phydev->state = PHY_HALTED;

out_unlock:
spin_unlock_bh(&phydev->lock);

Expand Down

0 comments on commit 32de3b0

Please sign in to comment.