In My raspberry Pi wifi is connected to my home wifi and eth0 is assigned with a static ip address. It act as a router between wlan0 and eth0. Raspberry pi get internet through the wifi.
After modifying the wpa_supplicant.conf, i restarted the service networking using sudo service networking restart
. This restart the network but raspberry pi is not connected to the home wifi.
But it connects when we reboot the system.