From e4e8bf4dd00123ba06630c34fe45c84a91459094 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Aug 2009 13:33:51 +0200 Subject: [subscr] Change the signature... the gsm_network is in the subscr Remove the extra parameter from the method, the network can be taken from the subscriber. --- openbsc/tests/channel/channel_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbsc/tests/channel') 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); -- cgit v1.2.3