Try the old fashioned remedy: unplug the router's power cord and wait 10 seconds before plugging it back in. Try rebooting the computer as well. If neither of those work, try going into the router's settings with the laptop that works and see if there are any blocked MAC addresses.
Also, if you have a lot of devices connected to the WiFi, the router might not be able to handle them all. Good luck!