summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-26 15:16:14 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-26 17:10:30 +0100
commit1bda28c70911d47f129227daf34f1c7e1a059744 (patch)
tree305b3a17c3bec92f78e25b0803b3a193d4cff6f8
parente5f36899efc582a5de9e303313ffa924a727fe59 (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
-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 b7f7a75ce..3a676c0be 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",