My pc is disconnecting automatic from wi-fi [closed]

Laptop : HP pavilion g6 Router : Huawei HG538 OS : Xubuntu

Problem is my pc automatically disconnect from wi-fi in 1 hour after boot.


Solved by replacing Network Manager with Wicd:

sudo apt-get install --reinstall wicd
sudo service network-manager stop
sudo apt-get remove --purge network-manager network-manager-gnome
sudo service wicd restart