diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index b7c9791009d06781b637c4e4db19a77cfdd06eaf..6ef6b8b39e71dd5001d1f87c5bc3753ba045b790 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -375,7 +375,7 @@ static void macvlan_transfer_operstate(struct net_device *dev) if (!netif_carrier_ok(dev)) netif_carrier_on(dev); } else { - if (netif_carrier_ok(lowerdev)) + if (netif_carrier_ok(dev)) netif_carrier_off(dev); } }