aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/handover_logic.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-10 00:12:31 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-10 00:13:53 +0200
commit74419497fccc93ef5acf6bc0d64f683c8bf25617 (patch)
treeba0af03adb957a33c1698e82d94a76f6354f6b11 /openbsc/src/handover_logic.c
parentccfd57264786a513b81429d7d7064e216c4461af (diff)
[rsl] Introduce a method to set the state of the lchan
Setting the state through a dedicated method allows us to track the state transitions and check if they are done in a proper way.
Diffstat (limited to 'openbsc/src/handover_logic.c')
-rw-r--r--openbsc/src/handover_logic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/handover_logic.c b/openbsc/src/handover_logic.c
index 7fb0b13e1..7352d6464 100644
--- a/openbsc/src/handover_logic.c
+++ b/openbsc/src/handover_logic.c
@@ -229,7 +229,7 @@ static int ho_gsm48_ho_compl(struct gsm_lchan *new_lchan)
/* update lchan pointer of transaction */
trans_lchan_change(&ho->old_lchan->conn, &new_lchan->conn);
- ho->old_lchan->state = LCHAN_S_INACTIVE;
+ rsl_lchan_set_state(ho->old_lchan, LCHAN_S_INACTIVE);
lchan_auto_release(ho->old_lchan);
/* do something to re-route the actual speech frames ! */