aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/chan_alloc.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 12:12:26 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 12:16:17 +0800
commitde4b0a207dbef5e010df6f8024451a17b8fbf712 (patch)
treefa2dec18d069bae1a0628d4ba7d61f33d177b5a8 /openbsc/src/chan_alloc.c
parent4f5848dc91a1bf035cee3cf031c919dbd7943371 (diff)
chan_alloc: Stop the channel timers in the reset
Diffstat (limited to 'openbsc/src/chan_alloc.c')
-rw-r--r--openbsc/src/chan_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c
index 5a3e72771..9df449f83 100644
--- a/openbsc/src/chan_alloc.c
+++ b/openbsc/src/chan_alloc.c
@@ -338,6 +338,8 @@ void lchan_free(struct gsm_lchan *lchan)
void lchan_reset(struct gsm_lchan *lchan)
{
bsc_del_timer(&lchan->T3101);
+ bsc_del_timer(&lchan->T3111);
+ bsc_del_timer(&lchan->error_timer);
lchan->type = GSM_LCHAN_NONE;
lchan->state = LCHAN_S_NONE;