Use a single binary for setting up wifi.

There was a case where using separate ip link add and rename_netiface
commands would fail when the initial rename_netiface took too long. This
solves that by makign the operations sequential in the same binary.

This is a simplified version of aosp/772735 without vlan logic.

Bug: 119771992
Test: Ran phone target, checked if wifi works
Change-Id: I5450a013872b04f766437ad09e7e07a6e07e1c7f
4 files changed