* commit '65208857d35efe39c1dbc1da23f2caf7257232fc': EthernetDataTracker: indicate link up based on flags
This commit is contained in:
@@ -223,7 +223,7 @@ public class EthernetDataTracker implements NetworkStateTracker {
|
||||
mIface = iface;
|
||||
mNMService.setInterfaceUp(iface);
|
||||
InterfaceConfiguration config = mNMService.getInterfaceConfig(iface);
|
||||
mLinkUp = config.isActive();
|
||||
mLinkUp = config.hasFlag("up");
|
||||
if (config != null && mHwAddr == null) {
|
||||
mHwAddr = config.getHardwareAddress();
|
||||
if (mHwAddr != null) {
|
||||
|
||||
Reference in New Issue
Block a user