<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20914">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">nm_channel_fsm: Fix innocuous transition not permitted log error<br><br>Event NM_EV_OML_DOWN in allstate will transition to Disabled<br>NotInstalled state. In the case where that is the current state, there's<br>really no change but we didn't allow the transition. Let's allow it<br>since it doesn't hurt and get rid of error messages when a BTS<br>disconnects.<br><br>Fixes: OS#4831<br>Change-Id: Ia5b7c88ff89e68ec5086d24f6ee20a8b3b2d994d<br>---<br>M src/osmo-bsc/nm_channel_fsm.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/14/20914/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/nm_channel_fsm.c b/src/osmo-bsc/nm_channel_fsm.c</span><br><span>index 1d798a6..676c471 100644</span><br><span>--- a/src/osmo-bsc/nm_channel_fsm.c</span><br><span>+++ b/src/osmo-bsc/nm_channel_fsm.c</span><br><span>@@ -296,6 +296,7 @@</span><br><span>                         X(NM_EV_SW_ACT_REP) |</span><br><span>                        X(NM_EV_STATE_CHG_REP),</span><br><span>              .out_state_mask =</span><br><span style="color: hsl(120, 100%, 40%);">+                     X(NM_CHAN_ST_OP_DISABLED_NOTINSTALLED) |</span><br><span>                     X(NM_CHAN_ST_OP_DISABLED_DEPENDENCY) |</span><br><span>                       X(NM_CHAN_ST_OP_DISABLED_OFFLINE) |</span><br><span>                  X(NM_CHAN_ST_OP_ENABLED),</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/20914">change 20914</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-bsc/+/20914"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia5b7c88ff89e68ec5086d24f6ee20a8b3b2d994d </div>
<div style="display:none"> Gerrit-Change-Number: 20914 </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>