Commit b8dde7ba authored by Rohit Gupta's avatar Rohit Gupta

EXMIMO handling special case for device library

parent 6b517988
...@@ -151,6 +151,9 @@ int openair0_device_load(openair0_device *device, openair0_config_t *openair0_cf ...@@ -151,6 +151,9 @@ int openair0_device_load(openair0_device *device, openair0_config_t *openair0_cf
int openair0_transport_load(openair0_device *device, openair0_config_t *openair0_cfg, eth_params_t * eth_params) { int openair0_transport_load(openair0_device *device, openair0_config_t *openair0_cfg, eth_params_t * eth_params) {
int rc; int rc;
//ToDo: EXMIMO library is still not harmonized with rest of HW Targets (USRP, BladeRF).
if (device->type != EXMIMO_DEV)
{
rc=load_lib(device, openair0_cfg, eth_params, BBU_REMOTE_RADIO_HEAD); rc=load_lib(device, openair0_cfg, eth_params, BBU_REMOTE_RADIO_HEAD);
if ( rc >= 0) { if ( rc >= 0) {
if ( set_transport(device) < 0) { if ( set_transport(device) < 0) {
...@@ -158,7 +161,11 @@ int openair0_transport_load(openair0_device *device, openair0_config_t *openair0 ...@@ -158,7 +161,11 @@ int openair0_transport_load(openair0_device *device, openair0_config_t *openair0
return -1; return -1;
} }
} }
}
else
{
device_init(device, openair0_cfg);
}
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment