aboutsummaryrefslogtreecommitdiffstats
path: root/src/e1_config.c
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-04-22 22:07:31 +0000
committerHolger Freyther <zecke@selfish.org>2009-04-22 22:07:31 +0000
commitdda22c18b5daaab7fa26f1eeff7dcc849a99c0cc (patch)
tree769c234df39a46794de47ada8aca8c6b52b2ad19 /src/e1_config.c
parent0a173bfe28ba4f6176a4ea571dc911cdd7faef44 (diff)
[bsc_hack] Allow to select the cardnr defaulting to number 0
Patch from Andreas Eversberg to allow to select the ISDN card number. The default remains the same.
Diffstat (limited to 'src/e1_config.c')
-rw-r--r--src/e1_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/e1_config.c b/src/e1_config.c
index 0aef19d57..080ca4f92 100644
--- a/src/e1_config.c
+++ b/src/e1_config.c
@@ -15,7 +15,7 @@
#define TEI_RSL 1
/* do some compiled-in configuration for our BTS/E1 setup */
-int e1_config(struct gsm_bts *bts)
+int e1_config(struct gsm_bts *bts, int cardnr)
{
struct e1inp_line *line;
struct e1inp_ts *sign_ts;
@@ -68,7 +68,7 @@ int e1_config(struct gsm_bts *bts)
bts->trx[1].rsl_link = rsl_link;
#endif
- return mi_setup(0, line);
+ return mi_setup(cardnr, line);
}
/* do some compiled-in configuration for our BTS/E1 setup */