Show BTS Channel Load on Ericsson BTS

On the RBS, the TRX NM State is always NULL.

Change-Id: I8bf6efc7f950246e0a836eceea834575a38a2d48
This commit is contained in:
Keith Whyte 2021-04-02 09:27:21 +02:00
parent 3161a9c959
commit cae79e920c
1 changed files with 1 additions and 1 deletions

View File

@ -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