am f008ab72: am 5d33e76c: am 65208857: am 2415841c: Merge "EthernetDataTracker: indicate link up based on flags"

* commit 'f008ab727e46926bff018ef970ea8265ccc0f45d':
  EthernetDataTracker: indicate link up based on flags
This commit is contained in:
Robert Greenwalt
2012-09-11 15:11:23 -07:00
committed by Android Git Automerger

View File

@@ -227,7 +227,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) {