[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.
diff --git a/src/e1_config.c b/src/e1_config.c
index 0aef19d..080ca4f 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 @@
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 */