aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/msc_vlr/msc_vlr_tests.c')
-rw-r--r--tests/msc_vlr/msc_vlr_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c
index 556bf4919..1079c9f93 100644
--- a/tests/msc_vlr/msc_vlr_tests.c
+++ b/tests/msc_vlr/msc_vlr_tests.c
@@ -219,7 +219,7 @@ void rx_from_ms(struct msgb *msg)
reset_l3_seq_nr();
patch_l3_seq_nr(msg);
rc = msc_compl_l3(g_conn, msg, 23);
- if (rc == BSC_API_CONN_POL_REJECT) {
+ if (rc != MSC_CONN_ACCEPT) {
msc_subscr_con_free(g_conn);
g_conn = NULL;
}