Sorry for late reply
The solution was to return it and the retailer changed it to another.
The retailer has a no questions asked policy to return within 2 weeks anyway so I'm not sure how it would've turned out in some other retailer.
It's either the firmware or hardware, but the thing was.. It was impossible to reset wifi-settings.