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 36a05df3f3
commit 22d0c6ce52

View File

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