From 49f69810e9eb6e8ab7418e0e8d869d673c962159 Mon Sep 17 00:00:00 2001
From: "Wolfgang A. Mozart" <mozart@eurecom.fr>
Date: Sat, 27 Oct 2018 16:35:04 +0200
Subject: [PATCH] removing reference to uesoftmodem from load_configmodule
 (don't understand why this dependence is there in fist place. Also makes
 unitary sims break)

---
 common/config/config_load_configmodule.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/common/config/config_load_configmodule.c b/common/config/config_load_configmodule.c
index 2c6700c73e..a41f395edd 100644
--- a/common/config/config_load_configmodule.c
+++ b/common/config/config_load_configmodule.c
@@ -201,13 +201,9 @@ int i;
 
 /* default */
   if (cfgparam == NULL) {
-         tmpflags = tmpflags | CONFIG_NOOOPT;
-     if (strstr(argv[0],"uesoftmodem") == NULL) {
-         cfgparam = CONFIG_LIBCONFIGFILE ":" DEFAULT_CFGFILENAME;
-      } else {
-         cfgparam = CONFIG_CMDLINEONLY ":dbgl0" ;         
-      }
-   }
+    tmpflags = tmpflags | CONFIG_NOOOPT;
+    cfgparam = CONFIG_CMDLINEONLY ":dbgl0" ;         
+  }
    
 /* parse the config parameters to set the config source */
    i = sscanf(cfgparam,"%m[^':']:%ms",&cfgmode,&modeparams);
-- 
GitLab