Are two wifi interfaces needed to configure a new device?

Hi, I wanted to know how does the pairing method works. I know that the photon first creates a wifi access point (AP from now on), then it searches for nearby APs and finally you select the desired one and then it’s connected to your network. My question is, in order to do this are there 2 wifi interfaces necessary? (one for the photon AP, and the other for searching and connecting to another AP).