aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp <pmaier@sysmocom.de>2016-12-20 14:23:45 +0100
committerPhilipp <pmaier@sysmocom.de>2016-12-20 19:31:23 +0100
commit1c04803ad26c5a53723c38ea21600cdd0ed5f433 (patch)
treef57232e566b7c9b38125a8c197463721d787ecfc
parent8bd7fba5626b8b2f2e02dc2fe43713af3a26623b (diff)
fixup for: gprs: T3186 encoding in Sysinfo 13
-rw-r--r--openbsc/src/libbsc/rest_octets.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/openbsc/src/libbsc/rest_octets.c b/openbsc/src/libbsc/rest_octets.c
index b6de6969a..2dc41ae85 100644
--- a/openbsc/src/libbsc/rest_octets.c
+++ b/openbsc/src/libbsc/rest_octets.c
@@ -534,6 +534,8 @@ static int append_gprs_mobile_alloc(struct bitvec *bv)
static int encode_t3192(unsigned int t3192)
{
+ /* See also 3GPP TS 44.060
+ Table 12.24.2: GPRS Cell Options information element details */
if (t3192 == 0)
return 3;
else if (t3192 <= 80)
@@ -556,9 +558,6 @@ static int encode_t3192(unsigned int t3192)
static int encode_drx_timer(unsigned int drx)
{
- /* See also 3GPP TS 44.060
- Table 12.24.2: GPRS Cell Options information element details */
-
if (drx == 0)
return 0;
else if (drx == 1)