summaryrefslogtreecommitdiff
path: root/core/SystemStatus.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/SystemStatus.h')
-rw-r--r--core/SystemStatus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/SystemStatus.h b/core/SystemStatus.h
index bd4279e..638933a 100644
--- a/core/SystemStatus.h
+++ b/core/SystemStatus.h
@@ -509,7 +509,7 @@ public:
for (uint8_t i = 0; rtv && i < MAX_NETWORK_HANDLES; ++i) {
rtv &= (mAllNetworkHandles[i] == peer.mAllNetworkHandles[i]);
}
- return rtv & peer.mApn.compare(mApn);
+ return rtv && !peer.mApn.compare(mApn);
}
inline virtual SystemStatusItemBase& collate(SystemStatusItemBase& curInfo) {
LOC_LOGv("NetworkInfo: mAllTypes=%" PRIx64 " connected=%u mType=%x mApn=%s",