aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/oml.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-10-05 17:16:20 +0200
committerHarald Welte <laforge@gnumonks.org>2013-10-09 15:38:33 +0200
commit19009f2d7ae805ca8037747934cb9c76f533022c (patch)
tree7bae070de4768a0cf24b0869870cadd0422a8e6c /src/osmo-bts-sysmo/oml.c
parentde0ca823f10650328b40db9bf0ce3a287c004b27 (diff)
Do not attempt to initialize L1 with a band unsupported by hardware
If the EEPROM tells us that a given unit doesn't support a given band, we shouldn't try to use it, even if the BSC tells us to use an ARFCN in such an unsupported band. The reason is simple: The given BTS unit might have band specific filter / duplexer / PA.
Diffstat (limited to 'src/osmo-bts-sysmo/oml.c')
-rw-r--r--src/osmo-bts-sysmo/oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index faef0258..bd73f647 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -277,7 +277,7 @@ static int trx_init(struct gsm_bts_trx *trx)
//return oml_mo_opstart_nack(&trx->mo, NM_NACK_CANT_PERFORM);
}
- femto_band = sysmobts_select_femto_band(trx->bts, trx->arfcn);
+ femto_band = sysmobts_select_femto_band(trx, trx->arfcn);
if (femto_band < 0) {
LOGP(DL1C, LOGL_ERROR, "Unsupported GSM band %s\n",
gsm_band_name(trx->bts->band));