bsc_hack.c: Unconditionally listen for the nanoBTS
As proposed on the mailinglist, initialize the socket once and wait for the nanoBTS to connect.
This commit is contained in:
parent
7a8fa412fd
commit
557ca78b49
|
@ -1031,15 +1031,16 @@ static int bootstrap_network(void)
|
|||
|
||||
llist_for_each_entry(bts, &gsmnet->bts_list, list) {
|
||||
bootstrap_bts(bts);
|
||||
if (is_ipaccess_bts(bts))
|
||||
rc = ipaccess_setup(bts);
|
||||
else
|
||||
if (!is_ipaccess_bts(bts))
|
||||
rc = e1_reconfig_bts(bts);
|
||||
|
||||
if (rc < 0)
|
||||
exit (1);
|
||||
}
|
||||
|
||||
/* initialize nanoBTS support omce */
|
||||
rc = ipaccess_setup(gsmnet);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue