Fixed UE not printing RF metrics

master
Ismael Gomez 7 years ago
parent 19ac35d933
commit f40766a503

@ -322,7 +322,6 @@ bool ue::get_metrics(ue_metrics_t &m)
bzero(&rf_metrics, sizeof(rf_metrics_t)); bzero(&rf_metrics, sizeof(rf_metrics_t));
rf_metrics.rf_error = false; // Reset error flag rf_metrics.rf_error = false; // Reset error flag
bzero(&m, sizeof(ue_metrics_t));
if(EMM_STATE_REGISTERED == nas.get_state()) { if(EMM_STATE_REGISTERED == nas.get_state()) {
if(RRC_STATE_CONNECTED == rrc.get_state()) { if(RRC_STATE_CONNECTED == rrc.get_state()) {
phy.get_metrics(m.phy); phy.get_metrics(m.phy);

Loading…
Cancel
Save