I've tried all suggestions, including reinstalling drivers and even resetting windows but nothing worked. It was like my laptop didn't have a WiFi card.
What finally solved the problem is the following:
• Go into BIOS (press F2 quickly when you turn it on)
• Click configuration and wireless LAN, disable, save (F10) and exit.
• Restart again, but this time enable, save and exit.
This somehow made the system detect the WiFi card again and I could connect to a network.

Hope this helps!