Merge branch 'cleanup' into bugfix-48-L1L2signaling
Conflicts: openair2/LAYER2/MAC/eNB_scheduler_ulsch.c targets/ARCH/COMMON/common_lib.c
This commit is contained in:
@@ -104,8 +104,9 @@ int load_lib(openair0_device *device, openair0_config_t *openair0_cfg, eth_param
|
||||
if (flag == BBU_LOCAL_RADIO_HEAD) {
|
||||
lib_handle = dlopen(OAI_RF_LIBNAME, RTLD_LAZY);
|
||||
if (!lib_handle) {
|
||||
printf( "Unable to locate %s: HW device set to NONE_DEV.\n", OAI_RF_LIBNAME);
|
||||
return 0;
|
||||
fprintf(stderr,"Unable to locate %s: HW device set to NONE_DEV.\n", OAI_RF_LIBNAME);
|
||||
fprintf(stderr,"%s\n",dlerror());
|
||||
return -1;
|
||||
}
|
||||
|
||||
dp = dlsym(lib_handle,"device_init");
|
||||
@@ -123,7 +124,8 @@ int load_lib(openair0_device *device, openair0_config_t *openair0_cfg, eth_param
|
||||
lib_handle = dlopen(OAI_TP_LIBNAME, RTLD_LAZY);
|
||||
if (!lib_handle) {
|
||||
printf( "Unable to locate %s: transport protocol set to NONE_TP.\n", OAI_TP_LIBNAME);
|
||||
return 0;
|
||||
printf( "%s\n",dlerror());
|
||||
return -1;
|
||||
}
|
||||
|
||||
tp = dlsym(lib_handle,"transport_init");
|
||||
@@ -168,7 +170,7 @@ int openair0_transport_load(openair0_device *device, openair0_config_t *openair0
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
return rc;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user