diff options
author | Max <msuraev@sysmocom.de> | 2018-12-19 19:35:26 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-01-07 15:49:36 +0000 |
commit | 45f89c938dcd5fce0bcaeee2e88c3ad7247277a0 (patch) | |
tree | afbec3a0841199625c6890308aeb18f14f534778 /src/coding/gsm0503_tables.c | |
parent | 42e567c5a95af3e823a68fe7c949f5282d06d297 (diff) |
LCLS: fix LCLS-CONNECT-CONTROL encoder
Previously it could encode both incorrect values as well as incorrect
message. Let's fix this by explicitly checking for invalid values and
ensuring that at least one of the parameters is valid.
This function have no external or internal users so it's better to fix
type signature as well to match the rest of gsm0808_create_lcls_*().
Change-Id: I7b33a771acbd391c5f9a494d6450edb18511433f
Diffstat (limited to 'src/coding/gsm0503_tables.c')
0 files changed, 0 insertions, 0 deletions