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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c
index eb6df095d..4a1778983 100644
--- a/tests/msc_vlr/msc_vlr_tests.c
+++ b/tests/msc_vlr/msc_vlr_tests.c
@@ -193,6 +193,12 @@ void conn_conclude_cm_service_req(struct ran_conn *conn,
enum osmo_rat_type rx_from_ran = OSMO_RAT_GERAN_A;
+/* SCCP user stub to make a_iface_tx_bssap() happy during test case execution */
+struct osmo_sccp_user {
+ uint8_t foo;
+};
+static struct osmo_sccp_user g_scu;
+
struct ran_conn *conn_new(void)
{
struct ran_conn *conn;
@@ -203,6 +209,8 @@ struct ran_conn *conn_new(void)
.conn_id = 42,
};
conn->iu.ue_ctx = ue_ctx;
+ } else {
+ conn->a.scu = &g_scu;
}
return conn;
}