Merge "Fix a logic error so mtu works." into lmp-dev

This commit is contained in:
Robert Greenwalt
2014-08-17 18:48:15 +00:00
committed by Android (Google) Code Review

View File

@@ -1534,7 +1534,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
return;
}
if (LinkProperties.isValidMtu(mtu, newLp.hasGlobalIPv6Address())) {
if (LinkProperties.isValidMtu(mtu, newLp.hasGlobalIPv6Address()) == false) {
loge("Unexpected mtu value: " + mtu + ", " + iface);
return;
}