If your laptop is not connecting to wifi then follow these steps:
Check Your Laptop for a Wi-Fi Button or Switch
First of all you should check your laptop. May be your problem is in switch. If your laptop isn’t connecting to a router and you can’t view a list of nearby wireless networks, then you should fix the router.
Reboot Your Computer and Your Wireless Router
“Restart” and “reboot” mean the same thing: to turn a device off, then immediately back on. Most computers have a “restart” button somewhere on them, but if it’s called “reboot” instead, no worries. It’s all the same.
Check and Reposition the Wireless Router
One of the most obvious things to do is to position the Wi-Fi in the center of the house or room.
Restore the Router’s Settings to the Factory Defaults
If you can’t access the router’s web-based setup page or forgot the router’s password, you may reset the router to its default factory settings. To do this, press and hold the Reset button for 10 seconds.
Upgrade the router firmware
Launch a web browser from a computer or wifi device that is connected to the network. Or you can use ethernet cable to connect your laptop. Use your username and password and click the check button and the router downloads the firmware and begins the update.