Revert "WiFi : Fix for  DHCP to Static IP configuration problem"

This reverts commit 2398a2a53040bf00118b31a547be769a1f75f653.