aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@espeweb.net>2021-02-09 19:29:28 +0100
committerlaforge <laforge@osmocom.org>2021-02-10 15:04:22 +0000
commitc31809faf3422619842611db755be7cddae12303 (patch)
tree9da0e74db5584cc54e1380d4cec1329e53b41894 /src
parent3e2e4a017a7faa15e76233b09067627c0ea21cf1 (diff)
cosmetic: Move comment one line below in append_gprs_cell_opt
Move it above the place where the bit is set, since the bit represents whether Extension Information is available, not whether R99 is available. Change-Id: Ice592acc50a24efd7fe4cf1a91f1d48fd74f38d8
Diffstat (limited to 'src')
-rw-r--r--src/gsm/gsm48_rest_octets.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gsm/gsm48_rest_octets.c b/src/gsm/gsm48_rest_octets.c
index f45e818e..1bab8e0c 100644
--- a/src/gsm/gsm48_rest_octets.c
+++ b/src/gsm/gsm48_rest_octets.c
@@ -906,9 +906,8 @@ static int append_gprs_cell_opt(struct bitvec *bv,
bitvec_set_bit(bv, 0);
} else {
/* extension information */
-
- /* R99 extension: */
bitvec_set_bit(bv, 1);
+ /* R99 extension: */
if (!gco->ext_info.egprs_supported) {
/* 6bit length of extension */
bitvec_set_uint(bv, (1 + 5)-1, 6);