aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-26 15:16:14 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-09 16:26:23 +0000
commitb8e8d0a4023d6916a6b2042f81ef17d32e8675c4 (patch)
tree794ce17cce99aaaf3dc98b211a8b629d5a65ef2c /openbsc/src/libbsc
parentc59e28fa5e2f0f5bbbf2b8a78a01abb739d8d3a3 (diff)
channel_mode_from_lchan(): Add missing break statement
GSM48_CMODE_DATA_6k0 was not properly terminated and thus resulted in a bug. Change-Id: I4000f06d0b49c4afb0446beddd150521c4ba3cf0 Fixes: Coverity CID 148207
Diffstat (limited to 'openbsc/src/libbsc')
-rw-r--r--openbsc/src/libbsc/abis_rsl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 2c016a6..8a6b111 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -453,6 +453,7 @@ static int channel_mode_from_lchan(struct rsl_ie_chan_mode *cm,
lchan->csd_mode);
return -EINVAL;
}
+ break;
default:
LOGP(DRSL, LOGL_ERROR,
"unsupported lchan->tch_mode %u\n",