Stanislas Wawrinka secured a quarter-final spot at the Malaysian Open after seeing off Cypriot Marcos Baghdatis 6-1 7-5 at Putra Stadium.