Avoid tx RF Resource Ind for disabled TRX
Related: SYS#6370 Change-Id: I887e0cb03b2a5654accccf7a55fac51319981bfb
This commit is contained in:
parent
48b00783f8
commit
767f690f05
|
@ -227,10 +227,13 @@ int trx_link_estab(struct gsm_bts_trx *trx)
|
|||
osmo_fsm_inst_dispatch(trx->mo.fi, NM_EV_RSL_UP, NULL);
|
||||
osmo_fsm_inst_dispatch(trx->bb_transc.mo.fi, NM_EV_RSL_UP, NULL);
|
||||
|
||||
if ((rc = rsl_tx_rf_res(trx)) < 0)
|
||||
if (trx->mo.nm_state.operational == NM_OPSTATE_ENABLED ||
|
||||
trx->bb_transc.mo.nm_state.operational == NM_OPSTATE_ENABLED) {
|
||||
rc = rsl_tx_rf_res(trx);
|
||||
if (rc < 0)
|
||||
oml_tx_failure_event_rep(&trx->bb_transc.mo, NM_SEVER_MAJOR, OSMO_EVT_MAJ_RSL_FAIL,
|
||||
"Failed to establish RSL link (%d)", rc);
|
||||
|
||||
}
|
||||
if (trx == trx->bts->c0)
|
||||
load_timer_start(trx->bts);
|
||||
|
||||
|
|
|
@ -615,6 +615,9 @@ static void l1sap_interf_meas_report(struct gsm_bts *bts)
|
|||
return;
|
||||
|
||||
llist_for_each_entry(trx, &bts->trx_list, list) {
|
||||
if (trx->mo.nm_state.operational != NM_OPSTATE_ENABLED ||
|
||||
trx->bb_transc.mo.nm_state.operational != NM_OPSTATE_ENABLED)
|
||||
continue;
|
||||
/* Calculate the average of all received samples */
|
||||
l1sap_interf_meas_calc_avg(trx);
|
||||
/* Report to the BSC over the A-bis/RSL */
|
||||
|
|
Loading…
Reference in New Issue