aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-07 16:42:07 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-04-13 13:47:02 -0700
commit6f13df7937b163572c588fb4486df27d6de02f5f (patch)
tree2e0348570d9018cb88d468bab06ec02a3b65dfec /drivers/net
parent734479b0c0eb6e472e2041664ed0ae129c58f676 (diff)
sky2: turn carrier off when down
Driver needs to turn off carrier when down. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/sky2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 1a4bcb10e2b..881e46de3d8 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);