From 35688b92b2b447cee8f9923fd462c6cd216b695e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 13 Apr 2007 20:31:50 +0200 Subject: skge: turn carrier off when down Driver needs to turn off carrier when down, otherwise it can confuse bonding and bridging and looks like carrier is on immediately when it is brought back up. Signed-off-by: Stephen Hemminger Signed-off-by: Adrian Bunk --- drivers/net/skge.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers') diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 25e028b7ce48..f808a35fd1f8 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c @@ -2239,6 +2239,7 @@ static int skge_down(struct net_device *dev) printk(KERN_INFO PFX "%s: disabling interface\n", dev->name); netif_stop_queue(dev); + netif_carrier_off(dev); skge_write8(skge->hw, SK_REG(skge->port, LNK_LED_REG), LED_OFF); if (hw->chip_id == CHIP_ID_GENESIS) -- cgit v1.2.3