HSL: Make sure not to send HSL specific OML init on non-HSL BTS

This commit is contained in:
Harald Welte 2011-03-05 16:24:20 +01:00
parent 53492c86e8
commit d4571f41a3
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}