<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24663">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fixup for vamos: fix wrong cbits in rsl_lchan_lookup()<br><br>The RSL_CHAN_OSMO_VAMOS_MASK mask applies to the chan_nr,<br>but the cbits variable in rsl_lchan_lookup() is chan_nr >> 3.<br>So the mask didn't do its job. Now it does.<br><br>A bit embarrassing how i took the suggestion to use this mask and put it<br>into code without testing it. It looked good enough...<br><br>Change-Id: I005c5f319bb6f14651aeb613cdff52e79f761913<br>---<br>M src/osmo-bsc/bts_trx.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/63/24663/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/bts_trx.c b/src/osmo-bsc/bts_trx.c</span><br><span>index f183742..edd52be 100644</span><br><span>--- a/src/osmo-bsc/bts_trx.c</span><br><span>+++ b/src/osmo-bsc/bts_trx.c</span><br><span>@@ -170,7 +170,7 @@</span><br><span>              case ABIS_RSL_CHAN_NR_CBITS_OSMO_VAMOS_Bm_ACCHs:</span><br><span>             case ABIS_RSL_CHAN_NR_CBITS_OSMO_VAMOS_Lm_ACCHs(0):</span><br><span>          case ABIS_RSL_CHAN_NR_CBITS_OSMO_VAMOS_Lm_ACCHs(1):</span><br><span style="color: hsl(0, 100%, 40%);">-                     cbits &= ~RSL_CHAN_OSMO_VAMOS_MASK;</span><br><span style="color: hsl(120, 100%, 40%);">+                       cbits = (chan_nr & ~RSL_CHAN_OSMO_VAMOS_MASK) >> 3;</span><br><span>                        vamos = true;</span><br><span>                        break;</span><br><span>               default:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24663">change 24663</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/+/24663"/><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: I005c5f319bb6f14651aeb613cdff52e79f761913 </div>
<div style="display:none"> Gerrit-Change-Number: 24663 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>