Translation:The passengers wanted to walk instead of wait.
English sometimes uses the present continuous to indicate the infinitive rather than the "to ..." form. In this case ".......instead of TO wait" might be grammatically correct but few people would say that. Instead most people would say "instead of waiting". That is what I put and it was accepted.