aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-13 20:32:35 +0200
committerAdrian Bunk <bunk@stusta.de>2007-04-13 22:58:23 +0200
commite3bfdc5b2a5a2f4429e2bcd9123a39a361c18662 (patch)
treeb808ffd4e7ad3fe28f9a353f1c81158e314c8973
parent35688b92b2b447cee8f9923fd462c6cd216b695e (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: Adrian Bunk <bunk@stusta.de>
-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 7c3a90354a7..220ea49a434 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -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