In my home I have my ISP's router installed with WiFi turned off. To that, a second router is connected via LAN and set-up in access-point mode to provide WiFi.
Connected via that WiFi, I have a repeater that repeats the AP's WiFi with the same SSID.
When a device (e.g. my phone) connects to the repeater's WiFi, everything works fine. Same goes when a device connects to the AP's WiFi.
Interestingly however, when switching from the AP's WiFi to the repeater's WiFi (or vice versa, i.e. when walking through my home), the device cannot ping the AP nor the router, and cannot connect to the internet.
Turning WiFi off and on on the device itself allows for accessing the internet, but the same thing happens when switching again.
Any ideas on what could be causing this behavior?