aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-20 13:33:51 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-20 13:56:45 +0200
commite4e8bf4dd00123ba06630c34fe45c84a91459094 (patch)
treee060a78f3f4de768cfb65cdb85be1f5a8ab54075 /openbsc/tests
parent4a5cf5f23d04d98b6e83d676c3487add56a4dd03 (diff)
[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.
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/channel/channel_test.c3
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);