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
This commit is contained in:
Harald Welte 2016-11-26 15:16:14 +01:00
parent c59e28fa5e
commit b8e8d0a402
1 changed files with 1 additions and 0 deletions

View File

@ -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",