X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fphy_stub_thread_hdl.c;h=d9860f6e12e89aa987b48c18a0183d10da2720ab;hb=324bffe05ee2a2a3754150dea9c17dc5cb06565b;hp=d1d3664ad1160764d8d7721b8cb99919c9d51407;hpb=15cfc9c3834a5c77b0cfbbe8b6cb0c576db140e6;p=o-du%2Fl2.git diff --git a/src/phy_stub/phy_stub_thread_hdl.c b/src/phy_stub/phy_stub_thread_hdl.c index d1d3664ad..d9860f6e1 100644 --- a/src/phy_stub/phy_stub_thread_hdl.c +++ b/src/phy_stub/phy_stub_thread_hdl.c @@ -159,7 +159,7 @@ void *l1ConsoleHandler(void *args) while(counter) { /* Start Pumping data from PHY stub to DU */ - for(ueIdx=0; ueIdx < MAX_NUM_UE; ueIdx++) + for(ueIdx=0; ueIdx < phyDb.ueDb.numActvUe; ueIdx++) { for(drbIdx = 0; drbIdx < NUM_DRB_TO_PUMP_DATA; drbIdx++) //Number of DRB times the loop will run {