Reset UE metrics in ue class

master
Ismael Gomez 7 years ago
parent 0a2e9d7b8b
commit 33f05bfecd

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

Loading…
Cancel
Save