Fix a logic error so mtu works.

bug:17046179
Change-Id: I744a2fd425627da16d9779df3a96541506e0b6b3
This commit is contained in:
Robert Greenwalt
2014-08-15 17:53:05 -07:00
parent b89454ddc0
commit 4b7145b4a7

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;
}