Show BTS Channel Load on Ericsson BTS
On the RBS, the TRX NM State is always NULL.
Change-Id: I8bf6efc7f950246e0a836eceea834575a38a2d48
diff --git a/src/osmo-bsc/chan_alloc.c b/src/osmo-bsc/chan_alloc.c
index 3569d4e..3de08c4 100644
--- a/src/osmo-bsc/chan_alloc.c
+++ b/src/osmo-bsc/chan_alloc.c
@@ -56,7 +56,7 @@
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