diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-10 00:16:04 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-10 00:16:04 +0200 |
commit | 5eec9d91d85edc7aac5c326f30d67036513c2dcf (patch) | |
tree | aedf46368cbd7797810bcd89be1cc4de46e8ede3 /openbsc/src/handover_logic.c | |
parent | 63d18b51a7fe76e05a0a3167205c5d61205fca98 (diff) |
[rsl] Set the right state when asking for the activation.
Set the state to activation to avoid a warning about the
getting a CHAN ACK without waiting for it. We set it in
the code to make sure it is set after all error checking
to avoid inconsistent state as the state is only set back
to NONE/ACT due replies from the BTS.
Diffstat (limited to 'openbsc/src/handover_logic.c')
-rw-r--r-- | openbsc/src/handover_logic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/handover_logic.c b/openbsc/src/handover_logic.c index 7352d6464..b2ffe4616 100644 --- a/openbsc/src/handover_logic.c +++ b/openbsc/src/handover_logic.c @@ -134,6 +134,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts) return rc; } + rsl_lchan_set_state(new_lchan, LCHAN_S_ACT_REQ); llist_add(&ho->list, &bsc_handovers); /* we continue in the SS_LCHAN handler / ho_chan_activ_ack */ |