Skip to content

lte: rename LteNetDevice::DoInitialize -> FinishSetup to avoid confusion and improper initialization

LteNetDevice uses DoInitialize in a non-standard way (or better, it calls Initialize on the NetDevices from its helper).

This clashes with the assumption that Initialize and DoInitialize are called after all the script setup when Simulator::Run(); is called (at Time(0)).

This patch fixes that glitch. Some other objects have their Initialize function called by the helper, so the patch might be not fully complete. Still, it fixes the issues for the NetDevices (LteUeNetDevice and LteEnbNetDevice).

Merge request reports