Commit a97dcd62 authored by frtabu's avatar frtabu

attempt to fix prach.c wrong ru/eNB test

parent 824d2b47
......@@ -97,12 +97,12 @@ void rx_prach0(PHY_VARS_eNB *eNB,
#endif
if(eNB) {
fp = &(eNB->frame_parms);
nb_rx = fp->nb_antennas_rx;
} else {
if(ru) {
fp = &(ru->frame_parms);
nb_rx = ru->nb_rx;
} else {
fp = &(eNB->frame_parms);
nb_rx = fp->nb_antennas_rx;
}
AssertFatal(fp==NULL,"rx_prach called without valid RU or eNB descriptor\n");
frame_type = fp->frame_type;
......
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