Switzerland defeated host Canada 2-1 in the final round of Group 2 play, overtaking the Canadians to qualify in first place. Canada finished second and also advanced to the round of 32.
In the other match, Bosnia and Herzegovina beat Qatar 3-1 and ended in third place with 4 points. That result keeps Bosnia and Herzegovina in contention for a knockout spot.
Bosnia and Herzegovina can still advance if it ranks among the eight best third-place teams. The group stage outcome means Switzerland and Canada are through, while Qatar is left behind after the final round.