Commit 470ea731 authored by Raphael Defosseux's avatar Raphael Defosseux

Merge remote-tracking branch 'origin/channel_model_fix' into integration_2023_w42

parents bd551a6a e46eeffe
...@@ -233,7 +233,7 @@ static int allocCirBuf(rfsimulator_state_t *bridge, int sock) ...@@ -233,7 +233,7 @@ static int allocCirBuf(rfsimulator_state_t *bridge, int sock)
} }
char *modelname = (bridge->role == SIMU_ROLE_SERVER) ? "rfsimu_channel_ue0" : "rfsimu_channel_enB0"; char *modelname = (bridge->role == SIMU_ROLE_SERVER) ? "rfsimu_channel_ue0" : "rfsimu_channel_enB0";
ptr->channel_model = find_channel_desc_fromname(modelname); // path_loss in dB ptr->channel_model = find_channel_desc_fromname(modelname); // path_loss in dB
if (ptr->channel_model != NULL) { if (!ptr->channel_model) {
LOG_E(HW, "Channel model %s not found, check config file\n", modelname); LOG_E(HW, "Channel model %s not found, check config file\n", modelname);
return -1; return -1;
} }
......
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