diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-07-29 15:41:29 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-07-29 15:41:29 +0200 |
commit | 9943c5bbac1e0ce99bd597f3e4ae665ce42118c5 (patch) | |
tree | 7ca65b8eaa226d2f25b26ae465aa497138d8be83 /openbsc/src/gsm_04_08.c | |
parent | 58ca5b7ae70365c1285b2ea0cb3c3370a8f108a9 (diff) |
generalize channel activation / channel mode modify
* we only need one piece of code to calculate rsl_ie_chan_mode from
our run-time data structures (gsm_lchan)
* add some more channel modes for TCH/H and data
* use enum's to make the compiler warn us about unhandled enum values
* make sure the caller determines the (signalling,speech,data) mode
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index a7577d249..078e95f3b 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -1746,6 +1746,7 @@ static int gsm0408_rcv_rr(struct msgb *msg) DEBUGP(DRR, "CHANNEL MODE MODIFY ACK\n"); /* We've successfully modified the MS side of the channel, * now go on to modify the BTS side of the channel */ + msg->lchan->rsl_cmode = RSL_CMOD_SPD_SPEECH; rc = rsl_chan_mode_modify_req(msg->lchan); break; case GSM48_MT_RR_STATUS: |