diff options
Diffstat (limited to 'vlandev.c')
-rw-r--r-- | vlandev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ static void vlandev_hotplug_check(struct vlandev_device *mvdev) struct device *dev = mvdev->parent.dev; if (!dev || !dev->hotplug_ops || avl_is_empty(&dev->vlans.avl) || - dev->type != &vlan8021q_device_type) { + mvdev->dev.type != &vlan8021q_device_type) { mvdev->dev.hotplug_ops = NULL; return; } |