summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-17 17:58:59 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-18 15:57:42 +0100
commit2f6c4b6479d0fcfd429bc0d26832f261370978e0 (patch)
tree41a6ca11f74233de94779cabdedc93c8e0888d57
parent2385074cba7f835d1f8eef8ea5d8274ab6a9a825 (diff)
IuCS: fix logical flip in same_ue_conn()
-rw-r--r--openbsc/src/libmsc/iu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/iu_cs.c b/openbsc/src/libmsc/iu_cs.c
index 2aabf200f..4ff7416f9 100644
--- a/openbsc/src/libmsc/iu_cs.c
+++ b/openbsc/src/libmsc/iu_cs.c
@@ -33,7 +33,7 @@ static int same_ue_conn(struct ue_conn_ctx *a, struct ue_conn_ctx *b)
if (a == b)
return 1;
return (a->link == b->link)
- && (a->conn_id != b->conn_id);
+ && (a->conn_id == b->conn_id);
}
/* Return an existing IuCS subscriber connection record for the given link and