Default Strange 'problem'...

Nothing 'big', but;
Yesterday I flashed a new ROM and everything went fine. I tried to turn on my WiFi and it didn't want to turn on. It just turned off automatically without even scanning. I cleared data, factory reset, nothing. Fortunately I had a CWM backup so I just restored it.
Today I tried the same thing with a completely different ROM. Same thing happened. I decided to root my phone and I did it. Suddenly, the WiFi turned on like normal after rooting.

I am trying to flash a new ROM so I can have OTA updates back, but without WiFi, that ain't possible. Anyone had the same problem?

Press THANKS if I helped!

Samsung Galaxy S4 Mini LTE GT-I9195