* add bsc_hack commandline argument to select BTS type
* add event-based OML bring-up for nanoBTS
diff --git a/src/gsm_data.c b/src/gsm_data.c
index 6763fc5..0593f6f 100644
--- a/src/gsm_data.c
+++ b/src/gsm_data.c
@@ -82,8 +82,8 @@
return chreq_names[c];
}
-struct gsm_network *gsm_network_init(unsigned int num_bts, u_int16_t country_code,
- u_int16_t network_code)
+struct gsm_network *gsm_network_init(unsigned int num_bts, enum gsm_bts_type bts_type,
+ u_int16_t country_code, u_int16_t network_code)
{
int i;
struct gsm_network *net;
@@ -106,7 +106,7 @@
bts->network = net;
bts->nr = i;
- bts->type = GSM_BTS_TYPE_BS11;
+ bts->type = bts_type;
for (j = 0; j < BTS_MAX_TRX; j++) {
struct gsm_bts_trx *trx = &bts->trx[j];