aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-12 09:08:44 +0200
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:41:28 +0200
commit6527dffc94686672add10fe6b66f898c436ea34c (patch)
tree88fa237f3af8d10db887d3658a86879dc2b4ccc4
parentfb04746bce94a5cdd3e95500c59ad019e552f9c0 (diff)
TRX: Clear lchan state when resetting TRX
-rw-r--r--src/osmo-bts-trx/scheduler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/scheduler.c b/src/osmo-bts-trx/scheduler.c
index 20cafade..bcde7f30 100644
--- a/src/osmo-bts-trx/scheduler.c
+++ b/src/osmo-bts-trx/scheduler.c
@@ -248,6 +248,9 @@ void trx_sched_exit(struct trx_l1h *l1h)
chan_state->ul_bursts = NULL;
}
}
+ /* clear lchan channel states */
+ for (i = 0; i < 8; i++)
+ l1h->trx->ts[tn].lchan[i].state = LCHAN_S_NONE;
}
}