<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/15687">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu_l1_if.cpp: Drop unneeded byte in Imm Ass PCH buffer<br><br>paging group is 3 bytes and imm assign with plen prepended is 23 bytes,<br>so there's 1 extra byte not needed and makes code confusing.<br><br>Change-Id: Id7835e5aa1506505ff54e019b38f30111f79b5dc<br>---<br>M src/pcu_l1_if.cpp<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-pcu refs/changes/87/15687/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp</span><br><span>index 6a0d58e..b0dfcc5 100644</span><br><span>--- a/src/pcu_l1_if.cpp</span><br><span>+++ b/src/pcu_l1_if.cpp</span><br><span>@@ -223,7 +223,7 @@</span><br><span> void pcu_l1if_tx_pch(bitvec * block, int plen, const char *imsi)</span><br><span> {</span><br><span>      struct gprs_rlcmac_bts *bts = bts_main_data();</span><br><span style="color: hsl(0, 100%, 40%);">-  uint8_t data[3+1+23]; /* prefix PLEN */</span><br><span style="color: hsl(120, 100%, 40%);">+       uint8_t data[3+23]; /* paging group, prefix PLEN */</span><br><span> </span><br><span>      /* paging group */</span><br><span>   if (!imsi || strlen(imsi) < 3)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/15687">change 15687</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-pcu/+/15687"/><meta itemprop="name" content="View Change"/></div></div>

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