diff options
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index b7c9791009d0..6ef6b8b39e71 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
@@ -375,7 +375,7 @@ static void macvlan_transfer_operstate(struct net_device *dev) | |||
375 | if (!netif_carrier_ok(dev)) | 375 | if (!netif_carrier_ok(dev)) |
376 | netif_carrier_on(dev); | 376 | netif_carrier_on(dev); |
377 | } else { | 377 | } else { |
378 | if (netif_carrier_ok(lowerdev)) | 378 | if (netif_carrier_ok(dev)) |
379 | netif_carrier_off(dev); | 379 | netif_carrier_off(dev); |
380 | } | 380 | } |
381 | } | 381 | } |