diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-07-06 14:29:02 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2020-07-14 09:44:06 +0000 |
commit | 22a949f38e3b5279c1888e1f308a592744a13d71 (patch) | |
tree | bf1293b881b9afaba2dfcbdc393b08c89fe3867d | |
parent | 5432f69f163b968092dc53aac6da86b337539b40 (diff) |
common: Avoid changing OPSTATE to Enabled upon RSL up
the RSL link has nothing to do regarding the state of the Radio Carrier,
as in it being up is not enough to have a working (enabled) Radio
Carrier.
Change-Id: Iefb5c4e1097233b5c31e4d621c544d51516af678
-rw-r--r-- | src/common/bts_trx.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/common/bts_trx.c b/src/common/bts_trx.c index 15640c66..6318dbc7 100644 --- a/src/common/bts_trx.c +++ b/src/common/bts_trx.c @@ -153,13 +153,10 @@ const char *gsm_trx_unit_id(struct gsm_bts_trx *trx) int trx_link_estab(struct gsm_bts_trx *trx) { struct e1inp_sign_link *link = trx->rsl_link; - uint8_t radio_state = link ? NM_OPSTATE_ENABLED : NM_OPSTATE_DISABLED; int rc; - LOGP(DSUM, LOGL_INFO, "RSL link (TRX %02x) state changed to %s, sending Status'.\n", - trx->nr, link ? "up" : "down"); - - oml_mo_state_chg(&trx->mo, radio_state, NM_AVSTATE_OK); + LOGPTRX(trx, DSUM, LOGL_INFO, "RSL link %s\n", + link ? "up" : "down"); if (link) rc = rsl_tx_rf_res(trx); |