<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10432">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">trxcon: suppress WARNING log message on NEIGH_PM_REQ<br><br>Let's differentiate between an 'expected' unimplemented message<br>like L1CTL_NEIGH_PM_REQ and a truly unknonw message type<br><br>This makes the following WARNING messages disappear:<br><br><0001> l1ctl.c:798 Unknown MSG type 26: 1a 00 00 00 01 00 00 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br><br>Change-Id: Id76993056fb514e6fb0242d505205316c61bb965<br>---<br>M src/host/trxcon/l1ctl.c<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/32/10432/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c</span><br><span>index 74400be..134425f 100644</span><br><span>--- a/src/host/trxcon/l1ctl.c</span><br><span>+++ b/src/host/trxcon/l1ctl.c</span><br><span>@@ -793,6 +793,9 @@</span><br><span>                return l1ctl_rx_tch_mode_req(l1l, msg);</span><br><span>      case L1CTL_CRYPTO_REQ:</span><br><span>               return l1ctl_rx_crypto_req(l1l, msg);</span><br><span style="color: hsl(120, 100%, 40%);">+ case L1CTL_NEIGH_PM_REQ:</span><br><span style="color: hsl(120, 100%, 40%);">+              LOGP(DL1C, LOGL_DEBUG, "Ignoring L1CTL_NEIGH_PM_REQ\n");</span><br><span style="color: hsl(120, 100%, 40%);">+            return -EINVAL;</span><br><span>      default:</span><br><span>             LOGP(DL1C, LOGL_ERROR, "Unknown MSG type %u: %s\n", l1h->msg_type,</span><br><span>                      osmo_hexdump(msgb_data(msg), msgb_length(msg)));</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10432">change 10432</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/10432"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id76993056fb514e6fb0242d505205316c61bb965 </div>
<div style="display:none"> Gerrit-Change-Number: 10432 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>