<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-abis/+/19281">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lapd: Use lapd_dl_init2 instead of deprecated lapd_dl_init<br><br>Change-Id: If25957d10bf9e32d2fe601111a9c1311aee21094<br>---<br>M TODO-RELEASE<br>M src/input/lapd.c<br>2 files changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/81/19281/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/TODO-RELEASE b/TODO-RELEASE</span><br><span>index aa278ec..bf3ef84 100644</span><br><span>--- a/TODO-RELEASE</span><br><span>+++ b/TODO-RELEASE</span><br><span>@@ -11,3 +11,4 @@</span><br><span> libosmo-trau        API change      add new function osmo_rtp_socket_set_dscp()</span><br><span> libosmo-abis     API change      major: add parameter to struct lapd_instance</span><br><span> libosmo-abis    Field added     struct e1inp_line "use_count". REMINDER: Upon LIBVERSION c bump, take the chance to drop struct e1inp_line "refcnt" field.</span><br><span style="color: hsl(120, 100%, 40%);">+libosmo-abis    libosmogsm dep Use of lapd_dl_init2() requires libosmocore > 1.3.0 (not yet released, 00b2faf8217338d4d7d1f4d27331af3151447350)</span><br><span>diff --git a/src/input/lapd.c b/src/input/lapd.c</span><br><span>index 5359a64..d8c67e4 100644</span><br><span>--- a/src/input/lapd.c</span><br><span>+++ b/src/input/lapd.c</span><br><span>@@ -259,8 +259,7 @@</span><br><span>        LOGP(DLLAPD, LOGL_NOTICE, "%s: k=%d N200=%d N201=%d T200=%d.%d T203=%d.%d\n",</span><br><span>              name, k, profile->n200, profile->n201, profile->t200_sec,</span><br><span>           profile->t200_usec, profile->t203_sec, profile->t203_usec);</span><br><span style="color: hsl(0, 100%, 40%);">-    lapd_dl_init(dl, k, 128, profile->n201);</span><br><span style="color: hsl(0, 100%, 40%);">-     lapd_dl_set_name(dl, name);</span><br><span style="color: hsl(120, 100%, 40%);">+   lapd_dl_init2(dl, k, 128, profile->n201, name);</span><br><span>   dl->use_sabme = 1; /* use SABME instead of SABM (GSM) */</span><br><span>  dl->send_ph_data_req = send_ph_data_req;</span><br><span>  dl->send_dlsap = send_dlsap;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-abis/+/19281">change 19281</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/libosmo-abis/+/19281"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-abis </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If25957d10bf9e32d2fe601111a9c1311aee21094 </div>
<div style="display:none"> Gerrit-Change-Number: 19281 </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>