diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2020-05-05 02:03:29 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2020-05-05 02:03:51 +0700 |
commit | c9eab828ea4a9f508a013cf5cc1e0384a0e62e4c (patch) | |
tree | d8efe6c108c1d8993d6370717ba91ba053c978ba /src/gsm/gsm48_rest_octets.c | |
parent | 9892945ec2f1e4b557bb07bb5538fa7fb94b338f (diff) |
rest_octets: fix encoding of 3G Early Classmark Sending Restriction
Change-Id: I6df515a00518fabb3eb8f65054addd3aead14bfe
Relates: OS#3075
Diffstat (limited to 'src/gsm/gsm48_rest_octets.c')
-rw-r--r-- | src/gsm/gsm48_rest_octets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm/gsm48_rest_octets.c b/src/gsm/gsm48_rest_octets.c index 518572ed..3c1b22af 100644 --- a/src/gsm/gsm48_rest_octets.c +++ b/src/gsm/gsm48_rest_octets.c @@ -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 */ |