am 566e12ad: eth: make sure dhcp is stopped before bringing up interface.
* commit '566e12ad11445a4b90d615fd823b53a2c1eba9be': eth: make sure dhcp is stopped before bringing up interface.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user