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

This reverts commit 861990ac0806201c6216beb2ea8ffaa22fea182f.