diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-11-28 17:31:41 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-12-05 16:06:47 +0000 |
commit | ba4f66a31d17a5a99faf614301bf6dd53f065f23 (patch) | |
tree | bb7a86a7ee42a2a8ec8199fac17b55302902027c /src | |
parent | 4b856a50303eb5231b01781f63c36065b2eca0ef (diff) |
bsc: timeslot_fsm: Fix count in ts_lchans_waiting
Before this patch, TCH lchans waiting for dynamic TS to
switch PDCH->TCH wouldn't be counted.
See osmo-bsc I9cedb77d6578597f1febab36c54b2ee427c7a4a2 for similar
extensive explanation.
Change-Id: I32008859cc23cd2afddd79daae21497d0945fed0
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bsc/timeslot_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/timeslot_fsm.c b/src/osmo-bsc/timeslot_fsm.c index 88a8f271b..1b77ab277 100644 --- a/src/osmo-bsc/timeslot_fsm.c +++ b/src/osmo-bsc/timeslot_fsm.c @@ -144,7 +144,7 @@ static int ts_lchans_waiting(struct gsm_bts_trx_ts *ts) { struct gsm_lchan *lchan; int count = 0; - ts_for_each_lchan(lchan, ts) + ts_for_each_potential_lchan(lchan, ts) if (lchan->fi->state == LCHAN_ST_WAIT_TS_READY) count++; return count; |