From: Stephen Hemminger Date: Sat, 7 Apr 2007 23:42:07 +0000 (-0700) Subject: sky2: turn carrier off when down X-Git-Tag: v2.6.20.7~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6f13df7937b163572c588fb4486df27d6de02f5f;p=karo-tx-linux.git sky2: turn carrier off when down Driver needs to turn off carrier when down. Signed-off-by: Stephen Hemminger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 1a4bcb10e2b6..881e46de3d8d 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -1506,6 +1506,7 @@ static int sky2_down(struct net_device *dev) /* Stop more packets from being queued */ netif_stop_queue(dev); + netif_carrier_off(dev); /* Disable port IRQ */ imask = sky2_read32(hw, B0_IMSK);