GL-AR300M reboots after connecting to a master WI-FI

As soon as I connect to a master Wi-Fi to in repeater mode the router just reboots. I’ve tried connecting to a hotel router then to my phone - same thing. I’ve restarted the router several times. Last week I updated to the newest firmware but I haven’t used the device for a while so I don’t know if that’s connected to the firmware or just the device became faulty. What can I do to debug or fix this issue?

Re-flash with latest firmware without saving the settings.

Thanks, I was already at the latest firmware so I just reset my settings and it worked.