Actually, This is kernal and Wi-Fi driver problem.
If you are suffering with kernal problem then reinstall your kernal by
$ sudo apt-get install $(uname -r)
And if you suffering from Wi-Fi driver problem then install it from synaptic or just follow this step