One more thing after using logging in again, wifi network manager doesn't responds and rfkill event shows following output on pressing the wifi hardware key,
idx 2 type 1 op 0 soft 0 hard 1
idx 2 type 1 op 0 soft 1 hard 1
idx 2 type 1 op 0 soft 0 hard 1
it changes the software lock but not the hardware lock. After restarting the ubuntu everything again starts functioning properly.
One more thing after using logging in again, wifi network manager doesn't responds and rfkill event shows following output on pressing the wifi hardware key,
idx 2 type 1 op 0 soft 0 hard 1
idx 2 type 1 op 0 soft 1 hard 1
idx 2 type 1 op 0 soft 0 hard 1
it changes the software lock but not the hardware lock. After restarting the ubuntu everything again starts functioning properly.