Frequent WLAN disconnection in Ubuntu 12.04

I am getting random frequent Internet disconnection in Ubuntu 12.04. I don’t want to upgrade it. Since it is LTS version and also I have a lot of PPA packages installed. I don’t want to disturb the current development environment. I got a solution from

karthi@spark:~$ lsb_release -d
Description: Ubuntu 12.04.2 LTS
karthi@spark:~$ uname -mr
3.2.0-40-generic x86_64

Restarting network…