am b1d214c5: am 566e12ad: eth: make sure dhcp is stopped before bringing up interface.

* commit 'b1d214c5a52dabb86e8ad7ec8dcb35db35ce15f1':
  eth: make sure dhcp is stopped before bringing up interface.
This commit is contained in:
Pierre Couillaud
2015-02-16 08:08:06 +00:00
committed by Android Git Automerger

View File

@@ -166,6 +166,7 @@ class EthernetNetworkFactory {
private void setInterfaceUp(String iface) {
// Bring up the interface so we get link status indications.
try {
NetworkUtils.stopDhcp(iface);
mNMService.setInterfaceUp(iface);
String hwAddr = null;
InterfaceConfiguration config = mNMService.getInterfaceConfig(iface);