aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-07 16:02:26 -0700
committerJeff Garzik <jeff@garzik.org>2007-04-11 11:54:42 -0400
commit9a87240c67565578a9533101b930ef4a975be333 (patch)
treedfa1b9bdbc6fa713e64b82d690050ccdccf3762a /drivers/net/sky2.c
parente5b9ddd9a0f95e133db7b43d05978f24cd6f1369 (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: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sky2.c')
-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 ab0ab92583f..45c4525a46e 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -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);