Fixes coverity 369617

master
AlaiaL 4 years ago committed by Andre Puschmann
parent 385b12a33a
commit 58ce75d3b4

@ -764,7 +764,7 @@ bool cc_worker::encode_uplink(mac_interface_phy_lte::tb_action_ul_t* action, srs
}
// Store metrics
if (action->tb.enabled) {
if (action && action->tb.enabled) {
ul_metrics_t ul_metrics = {};
ul_metrics.mcs = ue_ul_cfg.ul_cfg.pusch.grant.tb.mcs_idx;
ul_metrics.power = 0;

Loading…
Cancel
Save