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 9680a308c62b..cf31c0629852 100644 --- a/drivers/net/tlan.c +++ b/drivers/net/tlan.c | |||
@@ -2819,7 +2819,7 @@ void TLan_PhyMonitor( struct net_device *dev ) | |||
2819 | if (priv->link) { | 2819 | if (priv->link) { |
2820 | priv->link = 0; | 2820 | priv->link = 0; |
2821 | printk(KERN_DEBUG "TLAN: %s has lost link\n", dev->name); | 2821 | printk(KERN_DEBUG "TLAN: %s has lost link\n", dev->name); |
2822 | dev->flags &= ~IFF_RUNNING; | 2822 | netif_carrier_off(dev); |
2823 | TLan_SetTimer( dev, (2*HZ), TLAN_TIMER_LINK_BEAT ); | 2823 | TLan_SetTimer( dev, (2*HZ), TLAN_TIMER_LINK_BEAT ); |
2824 | return; | 2824 | return; |
2825 | } | 2825 | } |
@@ -2829,7 +2829,7 @@ void TLan_PhyMonitor( struct net_device *dev ) | |||
2829 | if ((phy_status & MII_GS_LINK) && !priv->link) { | 2829 | if ((phy_status & MII_GS_LINK) && !priv->link) { |
2830 | priv->link = 1; | 2830 | priv->link = 1; |
2831 | printk(KERN_DEBUG "TLAN: %s has reestablished link\n", dev->name); | 2831 | printk(KERN_DEBUG "TLAN: %s has reestablished link\n", dev->name); |
2832 | dev->flags |= IFF_RUNNING; | 2832 | netif_carrier_on(dev); |
2833 | } | 2833 | } |
2834 | 2834 | ||
2835 | /* Setup a new monitor */ | 2835 | /* Setup a new monitor */ |