rest_octets: Fix decoding of SI3 3G Early Classmark Sending Restriction
Restriction is applied if the value is L, so fix it.
Fixes: f85b33f68fcf9b34e723e4571078d7eeb0de5d59
Change-Id: Idd170bc0f12e8b215a624e0632a106bde076179b
diff --git a/src/gsm/gsm48_rest_octets.c b/src/gsm/gsm48_rest_octets.c
index 90f2b03..b2b37b3 100644
--- a/src/gsm/gsm48_rest_octets.c
+++ b/src/gsm/gsm48_rest_octets.c
@@ -1063,9 +1063,9 @@
/* 3G Early Classmark Sending Restriction. If H, then controlled by
* early_cm_ctrl above */
if (bitvec_get_bit_high(&bv) == H)
- si3->early_cm_restrict_3g = 1;
- else
si3->early_cm_restrict_3g = 0;
+ else
+ si3->early_cm_restrict_3g = 1;
if (bitvec_get_bit_high(&bv) == H)
si3->si2quater_indicator = 1;