An out-of-date or corrupted wireless driver could prevent you from connecting your PC to the Internet. If the wireless driver is the culprit, reinstalling it will get you back online in minutes. First, download the latest version of the driver using a wired Internet connection. At that point you can safely remove the current driver in the Device Manager, allowing you to do a clean installation.
Problems related to unsuccessful connection to the internet are mainly because of an out-of-date or corrupted wireless driver. If the wireless driver is the culprit, reinstalling it will solve the issue.
Reinstalling Wireless Driver in Windows (10/7/XP)