[VLAN]: Return proper error codes in register_vlan_device