<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/18726">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">oml.c: Log ADM STATE change locked/unlocked<br><br>Use same forma tuse for other OMl states, like OPER and AVAIL states.<br><br>Change-Id: Icb176e2215841509bf15a6dfc163ceddcb602954<br>---<br>M src/common/oml.c<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/26/18726/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/oml.c b/src/common/oml.c</span><br><span>index d7cc7bb..c2c1248 100644</span><br><span>--- a/src/common/oml.c</span><br><span>+++ b/src/common/oml.c</span><br><span>@@ -1002,6 +1002,10 @@</span><br><span>       if (mo->nm_state.administrative == adm_state)</span><br><span>             LOGPFOH(DOML, LOGL_NOTICE, foh, "ADM state already was %s\n",</span><br><span>                      get_value_string(abis_nm_adm_state_names, adm_state));</span><br><span style="color: hsl(120, 100%, 40%);">+        else</span><br><span style="color: hsl(120, 100%, 40%);">+          LOGPFOH(DOML, LOGL_NOTICE, foh, "ADM STATE %s -> %s\n",</span><br><span style="color: hsl(120, 100%, 40%);">+                  get_value_string(abis_nm_adm_state_names, mo->nm_state.administrative),</span><br><span style="color: hsl(120, 100%, 40%);">+                    get_value_string(abis_nm_adm_state_names, adm_state));</span><br><span> </span><br><span>   /* Step 3: Ask BTS driver to apply the state chg */</span><br><span>  return bts_model_chg_adm_state(bts, mo, obj, adm_state);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/18726">change 18726</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/c/osmo-bts/+/18726"/><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-Change-Id: Icb176e2215841509bf15a6dfc163ceddcb602954 </div>
<div style="display:none"> Gerrit-Change-Number: 18726 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>