trau_frame: Add missing break statement in osmo_trau_frame_encode()

Change-Id: I986781218a844e043b6206124696452b3afec7fd
Closes: CID#211592
This commit is contained in:
Harald Welte 2020-08-06 11:57:50 +02:00
parent ab8e0666f4
commit 2f80b93528
1 changed files with 1 additions and 0 deletions

View File

@ -1249,6 +1249,7 @@ int osmo_trau_frame_encode(ubit_t *bits, size_t n_bits, const struct osmo_trau_f
/* timing alignment may happen: increased space requirement */
if (n_bits < 2 * 20 * 8 - 1)
return -ENOSPC;
break;
case OSMO_TRAU8_DATA:
case OSMO_TRAU8_OAM:
if (n_bits < 1 * 20 * 8)