Revert "WiFi : Fix to DHCP to static IP configuration problem"

This reverts commit fee82328f23a9970aa344e8b9bb3fb203879ef7e.