]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sky2: turn carrier off when down
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 13 Apr 2007 18:32:35 +0000 (20:32 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 13 Apr 2007 20:58:23 +0000 (22:58 +0200)
Driver needs to turn off carrier when down.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/net/sky2.c

index 7c3a90354a70754d10fcb20e0b5af41956cc5a72..220ea49a4340a8363a123adefdb86e5af2edaa04 100644 (file)
@@ -1427,6 +1427,7 @@ static int sky2_down(struct net_device *dev)
 
        /* Stop more packets from being queued */
        netif_stop_queue(dev);
+       netif_carrier_off(dev);
 
        /*
         * Both ports share the NAPI poll on port 0, so if necessary undo the