aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/nanobts_omlattr/nanobts_omlattr_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/nanobts_omlattr/nanobts_omlattr_test.c b/tests/nanobts_omlattr/nanobts_omlattr_test.c
index 3b5429c1c..3c81e4369 100644
--- a/tests/nanobts_omlattr/nanobts_omlattr_test.c
+++ b/tests/nanobts_omlattr/nanobts_omlattr_test.c
@@ -199,6 +199,7 @@ int main(int argc, char **argv)
gsm_bts_model_register(&bts_model_nanobts);
bts = gsm_bts_alloc_register(net, GSM_BTS_TYPE_NANOBTS, 63);
OSMO_ASSERT(bts);
+ bts->network = net;
trx = talloc_zero(ctx, struct gsm_bts_trx);
/* Parameters needed by nanobts_attr_bts_get() */