diff options
Diffstat (limited to 'drivers/net/tlan.c')
-rw-r--r-- | drivers/net/tlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c index a7ffa64502dd..ce116624f136 100644 --- a/drivers/net/tlan.c +++ b/drivers/net/tlan.c | |||
@@ -2807,7 +2807,7 @@ void TLan_PhyMonitor( struct net_device *dev ) | |||
2807 | if (priv->link) { | 2807 | if (priv->link) { |
2808 | priv->link = 0; | 2808 | priv->link = 0; |
2809 | printk(KERN_DEBUG "TLAN: %s has lost link\n", dev->name); | 2809 | printk(KERN_DEBUG "TLAN: %s has lost link\n", dev->name); |
2810 | dev->flags &= ~IFF_RUNNING; | 2810 | netif_carrier_off(dev); |
2811 | TLan_SetTimer( dev, (2*HZ), TLAN_TIMER_LINK_BEAT ); | 2811 | TLan_SetTimer( dev, (2*HZ), TLAN_TIMER_LINK_BEAT ); |
2812 | return; | 2812 | return; |
2813 | } | 2813 | } |
@@ -2817,7 +2817,7 @@ void TLan_PhyMonitor( struct net_device *dev ) | |||
2817 | if ((phy_status & MII_GS_LINK) && !priv->link) { | 2817 | if ((phy_status & MII_GS_LINK) && !priv->link) { |
2818 | priv->link = 1; | 2818 | priv->link = 1; |
2819 | printk(KERN_DEBUG "TLAN: %s has reestablished link\n", dev->name); | 2819 | printk(KERN_DEBUG "TLAN: %s has reestablished link\n", dev->name); |
2820 | dev->flags |= IFF_RUNNING; | 2820 | netif_carrier_on(dev); |
2821 | } | 2821 | } |
2822 | 2822 | ||
2823 | /* Setup a new monitor */ | 2823 | /* Setup a new monitor */ |