From bf1eb64b02728ee0dad77751a9ba527e735e2f4a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 9 Apr 2010 14:59:46 +0200 Subject: [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. --- openbsc/src/bssap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src/bssap.c') diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c index 738f3e3ea..352d34676 100644 --- a/openbsc/src/bssap.c +++ b/openbsc/src/bssap.c @@ -462,6 +462,7 @@ static int handle_new_assignment(struct msgb *msg, int full_rate, int chan_mode) return -1; } + rsl_lchan_set_state(new_lchan, LCHAN_S_ACT_REQ); msc_data->secondary_lchan = new_lchan; new_lchan->msc_data = msc_data; return 0; -- cgit v1.2.3