aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/handover_logic.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-07-04 16:34:41 +0200
committerHolger Freyther <holger@freyther.de>2016-07-09 08:53:16 +0000
commit9f8f9b80214fabfb3ac7674341c18a61a6ffcc5f (patch)
tree9074afe7e60b96541dc903b944f734afafabc06b /openbsc/src/libbsc/handover_logic.c
parent3955025c2a83a334f65322def52466c1cc86ed89 (diff)
libbsc: skip channel state LCHAN_S_INACTIVE while handover
The state is directly overwritten by the next function. Because there isn't any state transition, remove this state. Change-Id: I7f287692dbd559268fb5e61d81ac19e5dd4827eb
Diffstat (limited to 'openbsc/src/libbsc/handover_logic.c')
-rw-r--r--openbsc/src/libbsc/handover_logic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/handover_logic.c b/openbsc/src/libbsc/handover_logic.c
index 56b623a69..52fa4af26 100644
--- a/openbsc/src/libbsc/handover_logic.c
+++ b/openbsc/src/libbsc/handover_logic.c
@@ -284,7 +284,6 @@ static int ho_gsm48_ho_compl(struct gsm_lchan *new_lchan)
new_lchan->conn->lchan = new_lchan;
ho->old_lchan->conn = NULL;
- rsl_lchan_set_state(ho->old_lchan, LCHAN_S_INACTIVE);
lchan_release(ho->old_lchan, 0, RSL_REL_LOCAL_END);
handover_free(ho);