summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java b/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
index 11c991d408..28f46061af 100644
--- a/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
+++ b/service-t/src/com/android/server/ethernet/EthernetNetworkFactory.java
@@ -226,7 +226,7 @@ public class EthernetNetworkFactory extends NetworkFactory {
}
} else {
for (NetworkInterfaceState n : mTrackingInterfaces.values()) {
- if (n.statisified(request.networkCapabilities)) {
+ if (n.statisified(request.networkCapabilities) && n.mLinkUp) {
network = n;
break;
}