aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r--src/osmo-bsc/chan_alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bsc/chan_alloc.c b/src/osmo-bsc/chan_alloc.c
index 9c434145f..7f0aa31aa 100644
--- a/src/osmo-bsc/chan_alloc.c
+++ b/src/osmo-bsc/chan_alloc.c
@@ -59,6 +59,10 @@ void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts)
continue;
ts_for_each_lchan(lchan, ts) {
+ /* don't even count CBCH slots in total */
+ if (lchan->type == GSM_LCHAN_CBCH)
+ continue;
+
pl->total++;
switch (lchan->fi->state) {