aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-litecell15/utils.c')
-rw-r--r--src/osmo-bts-litecell15/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo-bts-litecell15/utils.c b/src/osmo-bts-litecell15/utils.c
index 59a621b3..8c3eb5a8 100644
--- a/src/osmo-bts-litecell15/utils.c
+++ b/src/osmo-bts-litecell15/utils.c
@@ -82,9 +82,8 @@ int lc15bts_select_lc15_band(struct gsm_bts_trx *trx, uint16_t arfcn)
{
enum gsm_band band;
struct gsm_bts *bts = trx->bts;
- struct gsm_bts_role_bts *btsb = bts_role_bts(bts);
- if (!btsb->auto_band)
+ if (!bts->auto_band)
return band_osmo2lc15(trx, bts->band);
/*