diff options
Diffstat (limited to 'tests/handover')
-rw-r--r-- | tests/handover/handover_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index 006e7910c..e65392038 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -463,7 +463,8 @@ static void lchan_clear(struct gsm_lchan *lchan) static void ts_clear(struct gsm_bts_trx_ts *ts) { struct gsm_lchan *lchan; - ts_for_each_lchan(lchan, ts) { + + ts_for_n_lchans(lchan, ts, ts->max_lchans_possible) { if (lchan_state_is(lchan, LCHAN_ST_UNUSED)) continue; lchan_clear(lchan); |