How do you prevent WiFi from automatically turning off on MiUi 10.2 Global?

My Redmi 3S's WiFi disconnects automatically, and if I switch it back on, it gets disconnected after a second. What could have caused this, and how do I prevent it from happening?

Hi Kyuki. Looks like a lot of people using MIUI 10.2 is having this problem.  Can you tell me which exact version you are using? I'm not sure if you're using the most recent one. Most recent version from the official site is V10.2.1.0.MALMIXM (MIUI9).

Not the answer you were looking for?