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
This commit is contained in:
parent
3955025c2a
commit
9f8f9b8021
|
@ -284,7 +284,6 @@ static int ho_gsm48_ho_compl(struct gsm_lchan *new_lchan)
|
||||||
new_lchan->conn->lchan = new_lchan;
|
new_lchan->conn->lchan = new_lchan;
|
||||||
ho->old_lchan->conn = NULL;
|
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);
|
lchan_release(ho->old_lchan, 0, RSL_REL_LOCAL_END);
|
||||||
|
|
||||||
handover_free(ho);
|
handover_free(ho);
|
||||||
|
|
Loading…
Reference in New Issue