diff options
Diffstat (limited to 'vlan.c')
-rw-r--r-- | vlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ static int vlan_set_device_state(struct device *dev, bool up) if (!up) { vldev->set_state(dev, false); system_vlan_del(dev); - release_device(vldev->dep.dev); + device_release(vldev->dep.dev); return 0; } @@ -43,7 +43,7 @@ static int vlan_set_device_state(struct device *dev, bool up) system_vlan_add(vldev->dep.dev, vldev->id); ret = vldev->set_state(dev, true); if (ret) - release_device(vldev->dep.dev); + device_release(vldev->dep.dev); return ret; } |