summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2022-01-13 04:07:18 -0800
committerLinux Build Service Account <lnxbuild@localhost>2022-01-13 04:07:18 -0800
commit931a7d693a81e0b739196f63522b7bf62d4cf634 (patch)
tree8435ca2f236d8fcca9c48b8942f6b677b8e2432b
parenteb168dc8d248f76ad75c67b73e5e7fe0490da757 (diff)
parent1ec396cbb15224022368ec878900b0f3164a6cbc (diff)
Merge 1ec396cbb15224022368ec878900b0f3164a6cbc on remote branch
Change-Id: I69f962adf07f590445a37ff9526f4ae3b5e5679d
-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",