I have no idea what leads up to that problem and I'm not absolutely sure of an antidote, but when I have internet problems I use
this little tool. Worked great for me on my own personal computer.
You could also try uninstalling and reinstalling your drivers, this resets all your saved networks.