am 1d28fef9: Stop any running DHCP client before bringup up an Ethernet interface

* commit '1d28fef92e516b0144d7844413194ba9e953b317':
  Stop any running DHCP client before bringup up an Ethernet interface
This commit is contained in:
Jason Simmons
2012-06-14 11:54:43 -07:00
committed by Android Git Automerger

View File

@@ -230,6 +230,10 @@ public class EthernetDataTracker implements NetworkStateTracker {
mNetworkInfo.setExtraInfo(mHwAddr);
}
}
// if a DHCP client had previously been started for this interface, then stop it
NetworkUtils.stopDhcp(mIface);
reconnect();
break;
}