IuCS: fix logical flip in same_ue_conn()

This commit is contained in:
Neels Hofmeyr
2016-03-17 17:58:59 +01:00
parent 2385074cba
commit 2f6c4b6479

View File

@@ -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