diff options
Diffstat (limited to 'openbsc/tests/channel/channel_test.c')
-rw-r--r-- | openbsc/tests/channel/channel_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/tests/channel/channel_test.c b/openbsc/tests/channel/channel_test.c index 4dcf69ae2..1b01878b5 100644 --- a/openbsc/tests/channel/channel_test.c +++ b/openbsc/tests/channel/channel_test.c @@ -63,9 +63,10 @@ int main(int argc, char** argv) /* Create a dummy subscriber */ struct gsm_subscriber *subscr = subscr_alloc(); subscr->lac = 23; + subscr->net = network; /* Ask for a channel... */ - subscr_get_channel(subscr, network, RSL_CHANNEED_TCH_F, subscr_cb, (void*)0x2342L); + subscr_get_channel(subscr, RSL_CHANNEED_TCH_F, subscr_cb, (void*)0x2342L); while (1) { bsc_select_main(0); |