print/log OpenBTS / OsmoBTS variant in PCU startup
Otherwise it can be very confusing, as Max had to figure out today...
This commit is contained in:
parent
d32cbbb130
commit
218482769b
|
@ -146,6 +146,8 @@ int pcu_l1if_open()
|
||||||
struct femtol1_hdl *fl1h;
|
struct femtol1_hdl *fl1h;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
LOGP(DL1IF, LOGL_INFO, "Opening OsmoPCU L1 interface to OpenBTS\n");
|
||||||
|
|
||||||
/* allocate new femtol1_handle */
|
/* allocate new femtol1_handle */
|
||||||
fl1h = talloc_zero(tall_pcu_ctx, struct femtol1_hdl);
|
fl1h = talloc_zero(tall_pcu_ctx, struct femtol1_hdl);
|
||||||
INIT_LLIST_HEAD(&fl1h->wlc_list);
|
INIT_LLIST_HEAD(&fl1h->wlc_list);
|
||||||
|
|
|
@ -224,6 +224,8 @@ int pcu_l1if_open(void)
|
||||||
unsigned int namelen;
|
unsigned int namelen;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
LOGP(DL1IF, LOGL_INFO, "Opening OsmoPCU L1 interface to OsmoBTS\n");
|
||||||
|
|
||||||
state = pcu_sock_state;
|
state = pcu_sock_state;
|
||||||
if (!state) {
|
if (!state) {
|
||||||
state = talloc_zero(tall_pcu_ctx, struct pcu_sock_state);
|
state = talloc_zero(tall_pcu_ctx, struct pcu_sock_state);
|
||||||
|
|
Loading…
Reference in New Issue