diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-08-28 23:28:28 +0900 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-08-28 23:28:28 +0900 |
commit | 196d0528ff8a4a887168efe436ddf059e5b9561e (patch) | |
tree | fc8d0c0f8e36249525c648699f33e96032a6f345 | |
parent | 2c700e4420f4d62cc28d3ec5ad340051950ad78a (diff) |
[abis_rsl] Set lchan->tch_mode properly when responding to CHAN_RQD
This fixes the 'only first call works' problem that some of us were
having with the nanoBTS.
(the field just happenned to be 0 == GSM48_CMODE_SIGN after startup)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | openbsc/src/abis_rsl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index 8cec2b6c3..7be1a6b32 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -1085,6 +1085,7 @@ static int rsl_rx_chan_rqd(struct msgb *msg) lchan->ms_power = ms_pwr_ctl_lvl(bts->band, bts->ms_max_power); lchan->bs_power = 0; /* 0dB reduction, output power = Pn */ lchan->rsl_cmode = RSL_CMOD_SPD_SIGN; + lchan->tch_mode = GSM48_CMODE_SIGN; rsl_chan_activate_lchan(lchan, 0x00, rqd_ta); /* create IMMEDIATE ASSIGN 04.08 messge */ |