From f94835becfd9fdd19a1f2517364f6949129b4871 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Fri, 3 Mar 2017 15:25:10 +0100
Subject: [PATCH] bugfix: "if_compress" parameter not taken into account

Bug reported by Bruno Mongazon from Nokia.

"Without this line, the config file parameter is not properly stored and
the FH will always work with compression."
---
 targets/RT/USER/lte-softmodem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/targets/RT/USER/lte-softmodem.c b/targets/RT/USER/lte-softmodem.c
index ed9d955e8a4..8303d88218f 100644
--- a/targets/RT/USER/lte-softmodem.c
+++ b/targets/RT/USER/lte-softmodem.c
@@ -1081,6 +1081,7 @@ static void get_options (int argc, char **argv) {
                     } else {
                         (eth_params+j)->rf_preference          = 0;
                     }
+                    (eth_params+j)->if_compress               = enb_properties->properties[i]->rrh_gw_config[j].if_compress;
                 } else {
                     local_remote_radio = BBU_LOCAL_RADIO_HEAD;
                 }
-- 
GitLab