rest_octets: fix encoding of 3G Early Classmark Sending Restriction

Change-Id: I6df515a00518fabb3eb8f65054addd3aead14bfe
Relates: OS#3075
This commit is contained in:
Vadim Yanitskiy 2020-05-05 02:03:29 +07:00
parent 9892945ec2
commit c9eab828ea
1 changed files with 2 additions and 2 deletions

View File

@ -576,9 +576,9 @@ int osmo_gsm48_rest_octets_si3_encode(uint8_t *data, const struct osmo_gsm48_si_
/* 3G Early Classmark Sending Restriction. If H, then controlled by
* early_cm_ctrl above */
if (si3->early_cm_restrict_3g)
bitvec_set_bit(&bv, L);
else
bitvec_set_bit(&bv, H);
else
bitvec_set_bit(&bv, L);
if (si3->si2quater_indicator) {
bitvec_set_bit(&bv, H); /* indicator struct present */