From cae79e920c5d46c9f89b45b33b0b6d0d9c590649 Mon Sep 17 00:00:00 2001 From: Keith Date: Fri, 2 Apr 2021 09:27:21 +0200 Subject: Show BTS Channel Load on Ericsson BTS On the RBS, the TRX NM State is always NULL. Change-Id: I8bf6efc7f950246e0a836eceea834575a38a2d48 --- src/osmo-bsc/chan_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3