aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2021-04-02 09:27:21 +0200
committerKeith <keith@rhizomatica.org>2021-04-02 09:27:21 +0200
commitcae79e920c5d46c9f89b45b33b0b6d0d9c590649 (patch)
tree7ca5675166453585c7de3348851550c8b9f2eb88
parent3161a9c9593755feec4689d00d3e8d7f3c58a34e (diff)
Show BTS Channel Load on Ericsson BTSkeith/rbs_mo
On the RBS, the TRX NM State is always NULL. Change-Id: I8bf6efc7f950246e0a836eceea834575a38a2d48
-rw-r--r--src/osmo-bsc/chan_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/chan_alloc.c b/src/osmo-bsc/chan_alloc.c
index 3569d4eaa..3de08c4c8 100644
--- a/src/osmo-bsc/chan_alloc.c
+++ b/src/osmo-bsc/chan_alloc.c
@@ -56,7 +56,7 @@ void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts)
struct gsm_lchan *lchan;
/* skip administratively deactivated timeslots */
- if (!nm_is_running(&ts->mo.nm_state))
+ if (!is_ericsson_bts(trx->bts) && !nm_is_running(&ts->mo.nm_state))
continue;
/* Dynamic timeslots have to be counted separately