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
This commit is contained in:
parent
5432f69f16
commit
22a949f38e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue