<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/13266">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">oc2g: change log level for calibration file errors to FATAL<br><br>The log level of the messages that notify calibration file loading<br>problems is NOTICE, but since it is a severe problem when calibration<br>can not be loaded lets change it to FATAL<br><br>Change-Id: I32aed25ca7925f1c776f00b37f404a58a85ddbc7<br>Related: OS#3823<br>---<br>M src/osmo-bts-oc2g/calib_file.c<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bts-oc2g/calib_file.c b/src/osmo-bts-oc2g/calib_file.c</span><br><span>index ed7aa16..72ec266 100644</span><br><span>--- a/src/osmo-bts-oc2g/calib_file.c</span><br><span>+++ b/src/osmo-bts-oc2g/calib_file.c</span><br><span>@@ -133,7 +133,7 @@</span><br><span> </span><br><span>        st->fp = fopen(fname, "rb");</span><br><span>    if (!st->fp) {</span><br><span style="color: hsl(0, 100%, 40%);">-               LOGP(DL1C, LOGL_NOTICE, "Failed to open '%s' for calibration data.\n", fname);</span><br><span style="color: hsl(120, 100%, 40%);">+              LOGP(DL1C, LOGL_FATAL, "Failed to open '%s' for calibration data.\n", fname);</span><br><span>              oml_tx_failure_event_rep(&fl1h->phy_inst->trx->mo, OSMO_EVT_WARN_SW_WARN,</span><br><span>                                        "Failed to open '%s' for calibration data", fname);</span><br><span>               return -1;</span><br><span>@@ -220,7 +220,7 @@</span><br><span> </span><br><span>         rc = calib_verify(fl1h, desc);</span><br><span>       if (rc < 0) {</span><br><span style="color: hsl(0, 100%, 40%);">-                LOGP(DL1C, LOGL_NOTICE,"Verify L1 calibration table %s -> failed (%d)\n", desc->fname, rc);</span><br><span style="color: hsl(120, 100%, 40%);">+           LOGP(DL1C, LOGL_FATAL, "Verify L1 calibration table %s -> failed (%d)\n", desc->fname, rc);</span><br><span>          oml_tx_failure_event_rep(&fl1h->phy_inst->trx->mo, OSMO_EVT_WARN_SW_WARN,</span><br><span>                                        "Verify L1 calibration table %s -> failed (%d)", desc->fname, rc);</span><br><span> </span><br><span>@@ -277,7 +277,7 @@</span><br><span>        char *calib_path = fl1h->phy_inst->u.oc2g.calib_path;</span><br><span> </span><br><span>      if (!calib_path) {</span><br><span style="color: hsl(0, 100%, 40%);">-              LOGP(DL1C, LOGL_NOTICE, "Calibration file path not specified\n");</span><br><span style="color: hsl(120, 100%, 40%);">+           LOGP(DL1C, LOGL_FATAL, "Calibration file path not specified\n");</span><br><span>           oml_tx_failure_event_rep(&fl1h->phy_inst->trx->mo, OSMO_EVT_WARN_SW_WARN,</span><br><span>                                        "Calibration file path not specified");</span><br><span>           return -1;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13266">change 13266</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13266"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I32aed25ca7925f1c776f00b37f404a58a85ddbc7 </div>
<div style="display:none"> Gerrit-Change-Number: 13266 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Max <msuraev@sysmocom.de> </div>