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

This reverts commit 839aa15fd309ff7df3cc267258f784c8650550e2.