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

This reverts commit baec9533ae86d9f05b06ce2948d0316c3cf24c72.
Fix