Skip to content
Snippets Groups Projects

config: rcpi thresholds can be set as 0

Merged Balalakshmi Arunachalam Rajendran requested to merge fix-policy-thr into devel
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -1907,7 +1907,7 @@ static int cntlr_config_get_agent_radio(struct controller_config *cc,
if (errno || *endptr != '\0')
dbg("|%s:%d| Error parsing rcpi_threshold value: %s\n",
__func__, __LINE__, tb[RADIO_RCPI_TH]->v.string);
else if (val > 0 && val <= 220)
else if (val >= 0 && val <= 220)
rp->rcpi_threshold = val;
}
@@ -1919,7 +1919,7 @@ static int cntlr_config_get_agent_radio(struct controller_config *cc,
if (errno || *endptr != '\0')
dbg("|%s:%d| Error parsing report_rcpi_threshold value: %s\n",
__func__, __LINE__, tb[RADIO_RPT_RCPI_TH]->v.string);
else if (val > 0 && val <= 220)
else if (val >= 0 && val <= 220)
rp->report_rcpi_threshold = val;
}
Loading