From d4571f41a34a606e15e593bd0ad0dbe294503a4a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 5 Mar 2011 16:24:20 +0100 Subject: [PATCH] HSL: Make sure not to send HSL specific OML init on non-HSL BTS --- openbsc/src/libbsc/bts_hsl_femtocell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbsc/src/libbsc/bts_hsl_femtocell.c b/openbsc/src/libbsc/bts_hsl_femtocell.c index e01634c3e..5e28ebffe 100644 --- a/openbsc/src/libbsc/bts_hsl_femtocell.c +++ b/openbsc/src/libbsc/bts_hsl_femtocell.c @@ -140,7 +140,8 @@ static int inp_sig_cb(unsigned int subsys, unsigned int signal, case S_INP_TEI_UP: switch (isd->link_type) { case E1INP_SIGN_OML: - hslfemto_bootstrap_om(isd->trx->bts); + if (isd->trx->bts->type == GSM_BTS_TYPE_HSL_FEMTO) + hslfemto_bootstrap_om(isd->trx->bts); break; } }