diff options
Diffstat (limited to 'drivers/net/au1000_eth.c')
-rw-r--r-- | drivers/net/au1000_eth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c index 3ab61e40e86a..cb8be490e5ae 100644 --- a/drivers/net/au1000_eth.c +++ b/drivers/net/au1000_eth.c | |||
@@ -911,9 +911,8 @@ au1000_adjust_link(struct net_device *dev) | |||
911 | if(phydev->link != aup->old_link) { | 911 | if(phydev->link != aup->old_link) { |
912 | // link state changed | 912 | // link state changed |
913 | 913 | ||
914 | if (phydev->link) // link went up | 914 | if (!phydev->link) { |
915 | netif_tx_schedule_all(dev); | 915 | /* link went down */ |
916 | else { // link went down | ||
917 | aup->old_speed = 0; | 916 | aup->old_speed = 0; |
918 | aup->old_duplex = -1; | 917 | aup->old_duplex = -1; |
919 | } | 918 | } |