sky2: turn carrier off when down
authorStephen Hemminger <shemminger@linux-foundation.org>
Sat, 7 Apr 2007 23:02:26 +0000 (16:02 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 11 Apr 2007 15:54:42 +0000 (11:54 -0400)
Driver needs to turn off carrier when down.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c

index ab0ab92583fe427a0568cbb87c5571b918909998..45c4525a46e40704220158d56cf027adb27a026d 100644 (file)
@@ -1561,6 +1561,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);