Skip to content

Commit 6520885

Browse files
Robert GreenwaltAndroid Git Automerger
authored andcommitted
am 2415841: Merge "EthernetDataTracker: indicate link up based on flags"
* commit '2415841c370d855d7f3a3e6a537e641c69a57097': EthernetDataTracker: indicate link up based on flags
2 parents 0c99f7e + 2415841 commit 6520885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/net/EthernetDataTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public void startMonitoring(Context context, Handler target) {
223223
mIface = iface;
224224
mNMService.setInterfaceUp(iface);
225225
InterfaceConfiguration config = mNMService.getInterfaceConfig(iface);
226-
mLinkUp = config.isActive();
226+
mLinkUp = config.hasFlag("up");
227227
if (config != null && mHwAddr == null) {
228228
mHwAddr = config.getHardwareAddress();
229229
if (mHwAddr != null) {

0 commit comments

Comments
 (0)